'; echo ' '; echo '
Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Direct Hook - Own code ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Matherz
Newbie cheater
Reputation: 0

Joined: 25 Aug 2012
Posts: 15

PostPosted: Wed Dec 26, 2012 7:46 am    Post subject: Direct Hook - Own code ? Reply with quote

Hi,
I made in C++ DirectX injection from tutorial. I successfuly compiled project (DLL and Injector). Everyting works fine (I hope), but I have any idea in which part code I should put my own code. I wanna make a code to Direct hook which will draw to screen some text.

Any sugestion? (Sorry for my sh*tty english).


Here's link tutorial (thx to Wiccaan)
forum.cheatengine.org/viewtopic.php?t=161045


thaks for help[/url]
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Dec 26, 2012 8:41 am    Post subject: Reply with quote

Typically anything drawn by the hook should be done in EndScene before the actual EndScene call is made, mainly to ensure that your stuff is drawn over the entire scene and is visible.

Keep in mind you need to handle initialization of your objects as well as handling if the device has reset called. If you don't your hook will crash the game.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Matherz
Newbie cheater
Reputation: 0

Joined: 25 Aug 2012
Posts: 15

PostPosted: Wed Dec 26, 2012 9:12 am    Post subject: Reply with quote

Wiccaan wrote:
Typically anything drawn by the hook should be done in EndScene before the actual EndScene call is made, mainly to ensure that your stuff is drawn over the entire scene and is visible.

Keep in mind you need to handle initialization of your objects as well as handling if the device has reset called. If you don't your hook will crash the game.


Thaks for help, but I'am still don't know where exactly I can write code... (I already know C++).


Someting like this?:
Code:

HRESULT Direct3DDevice9Wrapper::BeginScene()
{
   // my own code   
   return Direct3DDevice9->BeginScene();
}


I noob in hooking ...
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Dec 26, 2012 7:18 pm    Post subject: Reply with quote

Yes but do that in EndScene, not BeginScene.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Matherz
Newbie cheater
Reputation: 0

Joined: 25 Aug 2012
Posts: 15

PostPosted: Thu Dec 27, 2012 6:09 am    Post subject: Reply with quote

Wiccaan wrote:
Yes but do that in EndScene, not BeginScene.


Thanks much again for reply.

But I have still problem Sad . Im trying someting like this in EndScene but still with no success.
Code:

...

//STDMETHOD(EndScene)(THIS);
HRESULT Direct3DDevice9Wrapper::EndScene()
{
   HDC  hdc;
   hdc = CreateCompatibleDC(NULL);
   D3DCOLOR fontColor = D3DCOLOR_ARGB(255,0,0,255);   

   // Create a rectangle to indicate where on the screen it should be drawn
   RECT rct;
   rct.left=2;
   rct.right=780;
   rct.top=10;
   rct.bottom=rct.top+20;

   // Draw some text
   DrawText(hdc, L"Hello World", -1, &rct, 0);
   return Direct3DDevice9->EndScene();
}

....


Quote:
This tutorial is going to explain how to do the basics, create the hook, show an example wrapper, and explain a few small things along with the hook. I will include a full example as well that I will find some random free program to show you how it works and such in as well. I will add wireframe mode to a toggle key to show you how to add some of your own code into the hook as well.

(Quote from TUT). Is there any example stuff for my learning how do that?

[/code]
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 28, 2012 8:40 am    Post subject: Reply with quote

Firstly, your EndScene wrapper should look like this:
Code:

// STDMETHOD(EndScene)(THIS);
HRESULT __stdcall Direct3DDevice9Wrapper::EndScene()
{
   // draw stuff here..

   return Direct3DDevice9->EndScene();
}


The calling convention of the functions are important.

Next, 'DrawText' is not a Direct3D method of rendering text. You can use it and all, but you are missing a lot more work that is needed to make it work properly with Direct3D.

Check out things like this:
http://www.two-kings.de/tutorials/dxgraphics/dxgraphics09.html
http://www.drunkenhyena.com/cgi-bin/view_cpp_article.pl?chapter=3;article=17

Mainly look into:
- ID3DXFont
- CD3DFont

Or any other wrapper that another person has made.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Matherz
Newbie cheater
Reputation: 0

Joined: 25 Aug 2012
Posts: 15

PostPosted: Sun Dec 30, 2012 4:33 pm    Post subject: Reply with quote

Ok thanks again very much for your answers. I've got last question (or I hope).

Where is a pointer to Direct3D device. (I tried Direct3D9 )

FontPosition.right = Direct3D9?.GetWidth(); // Err for sure

That was the reason why I used DrawText function.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Dec 30, 2012 5:50 pm    Post subject: Reply with quote

The position is where you choose to put it, it doesn't have to be bound to the windows size. But if you do need to get the size you can get the view port info using IDirect3DDevice9::GetViewport.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25830
Location: The netherlands

PostPosted: Sun Dec 30, 2012 6:15 pm    Post subject: Reply with quote

I recommend getting a simple direct3d9 tutorial from somewhere that you are capable of compiling, and then experiment with that by adding your own drawing code.
Once you get the grasp of it, turn it into a hook

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Matherz
Newbie cheater
Reputation: 0

Joined: 25 Aug 2012
Posts: 15

PostPosted: Mon Dec 31, 2012 4:17 am    Post subject: Reply with quote

I don't need get half size of screen that was only example. I just need a pointer to D3D device because I can't use lot of D3D API function.

D3DXCreateFontIndirect(XXX.GetDevice(),&FontDesc,&g_Font);

LPDIRECT3DDEVICE9 pDevice

Or I should use NULL?

(Thanks again much and sorry for my english).

Dark Byte wrote:
I recommend getting a simple direct3d9 tutorial from somewhere that you are capable of compiling, and then experiment with that by adding your own drawing code.
Once you get the grasp of it, turn it into a hook


I compile a DLL into a process with launcher with no problem. But I just want to know how add to hook some own stuff that's all.


EDIT: THankx for help !!!


Last edited by Matherz on Fri Jan 04, 2013 2:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Dec 31, 2012 10:17 am    Post subject: Reply with quote

The device pointer it wants is the device pointer you already have:
Direct3DDevice9

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
'attach'][$_attach_i]['cat_swf'][$_cat_swf_i]['HEIGHT'] : '') , '"> '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '

'; echo '
'; echo '

'; } // END cat_swf $_cat_images_count = (isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'])) ? sizeof($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images']) : 0;for ($_cat_images_i = 0; $_cat_images_i < $_cat_images_count; $_cat_images_i++){ echo '

'; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['DOWNLOAD_NAME'] : '') , '
 ' , ((isset($this->_tpldata['.'][0]['L_DESCRIPTION'])) ? $this->_tpldata['.'][0]['L_DESCRIPTION'] : '') , ': '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['COMMENT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['COMMENT'] : '') , '
'; echo '
 ' , ((isset($this->_tpldata['.'][0]['L_FILESIZE'])) ? $this->_tpldata['.'][0]['L_FILESIZE'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['FILESIZE'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['FILESIZE'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['SIZE_VAR'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['SIZE_VAR'] : '') , '
 ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['L_DOWNLOADED_VIEWED'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['L_DOWNLOADED_VIEWED'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['L_DOWNLOAD_COUNT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['L_DOWNLOAD_COUNT'] : '') , '

' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_images'][$_cat_images_i]['DOWNLOAD_NAME'] : '') , '

'; echo '

'; } // END cat_images $_cat_thumb_images_count = (isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'])) ? sizeof($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images']) : 0;for ($_cat_thumb_images_i = 0; $_cat_thumb_images_i < $_cat_thumb_images_count; $_cat_thumb_images_i++){ echo '

'; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['DOWNLOAD_NAME'] : '') , '
 ' , ((isset($this->_tpldata['.'][0]['L_DESCRIPTION'])) ? $this->_tpldata['.'][0]['L_DESCRIPTION'] : '') , ': '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['COMMENT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['COMMENT'] : '') , '
'; echo '
 ' , ((isset($this->_tpldata['.'][0]['L_FILESIZE'])) ? $this->_tpldata['.'][0]['L_FILESIZE'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['FILESIZE'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['FILESIZE'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['SIZE_VAR'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['SIZE_VAR'] : '') , '
 ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['L_DOWNLOADED_VIEWED'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['L_DOWNLOADED_VIEWED'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['L_DOWNLOAD_COUNT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['L_DOWNLOAD_COUNT'] : '') , '

' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['cat_thumb_images'][$_cat_thumb_images_i]['DOWNLOAD_NAME'] : '') , '

'; echo '

'; } // END cat_thumb_images $_attachrow_count = (isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'])) ? sizeof($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow']) : 0;for ($_attachrow_i = 0; $_attachrow_i < $_attachrow_count; $_attachrow_i++){ echo '

'; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['DOWNLOAD_NAME'] : '') , '
 ' , ((isset($this->_tpldata['.'][0]['L_DESCRIPTION'])) ? $this->_tpldata['.'][0]['L_DESCRIPTION'] : '') , ': '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['COMMENT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['COMMENT'] : '') , '
'; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['S_UPLOAD_IMAGE'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['S_UPLOAD_IMAGE'] : '') , '
_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['TARGET_BLANK'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['TARGET_BLANK'] : '') , ' class="genmed">' , ((isset($this->_tpldata['.'][0]['L_DOWNLOAD'])) ? $this->_tpldata['.'][0]['L_DOWNLOAD'] : '') , '
 ' , ((isset($this->_tpldata['.'][0]['L_FILENAME'])) ? $this->_tpldata['.'][0]['L_FILENAME'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['DOWNLOAD_NAME'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['DOWNLOAD_NAME'] : '') , '
 ' , ((isset($this->_tpldata['.'][0]['L_FILESIZE'])) ? $this->_tpldata['.'][0]['L_FILESIZE'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['FILESIZE'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['FILESIZE'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['SIZE_VAR'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['SIZE_VAR'] : '') , '
 ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['L_DOWNLOADED_VIEWED'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['L_DOWNLOADED_VIEWED'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['L_DOWNLOAD_COUNT'])) ? $this->_tpldata['postrow'][$_postrow_i]['attach'][$_attach_i]['attachrow'][$_attachrow_i]['L_DOWNLOAD_COUNT'] : '') , '
'; echo '

'; } // END attachrow echo ' '; } // END attach echo '' , ((isset($this->_tpldata['postrow'][$_postrow_i]['SIGNATURE'])) ? $this->_tpldata['postrow'][$_postrow_i]['SIGNATURE'] : '') , '' , ((isset($this->_tpldata['postrow'][$_postrow_i]['EDITED_MESSAGE'])) ? $this->_tpldata['postrow'][$_postrow_i]['EDITED_MESSAGE'] : '') , ' '; echo ' '; $_warning_count = (isset($this->_tpldata['postrow'][$_postrow_i]['warning'])) ? sizeof($this->_tpldata['postrow'][$_postrow_i]['warning']) : 0;for ($_warning_i = 0; $_warning_i < $_warning_count; $_warning_i++){ echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['ICON'])) ? $this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['ICON'] : '') , '' , ((isset($this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['DETAILS'])) ? $this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['DETAILS'] : '') , '
' , ((isset($this->_tpldata['.'][0]['L_REASON'])) ? $this->_tpldata['.'][0]['L_REASON'] : '') , ': ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['MESSAGE'])) ? $this->_tpldata['postrow'][$_postrow_i]['warning'][$_warning_i]['MESSAGE'] : '') , '
'; echo ' '; } // END warning echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' ' , ((isset($this->_tpldata['.'][0]['L_BACK_TO_TOP'])) ? $this->_tpldata['.'][0]['L_BACK_TO_TOP'] : '') , ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['postrow'][$_postrow_i]['PROFILE_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['PROFILE_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['PM_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['PM_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['EMAIL_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['EMAIL_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['WWW_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['WWW_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['AIM_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['AIM_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['YIM_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['YIM_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['MSN_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['MSN_IMG'] : '') , '' , ((isset($this->_tpldata['postrow'][$_postrow_i]['YELLOW_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['YELLOW_IMG'] : '') , ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['RED_IMG'])) ? $this->_tpldata['postrow'][$_postrow_i]['RED_IMG'] : '') , '
'; echo ' '; echo ' '; echo ' ' , ((isset($this->_tpldata['postrow'][$_postrow_i]['ADCODE'])) ? $this->_tpldata['postrow'][$_postrow_i]['ADCODE'] : '') , ' '; echo ' '; } // END postrow echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['.'][0]['L_DISPLAY_POSTS'])) ? $this->_tpldata['.'][0]['L_DISPLAY_POSTS'] : '') , ': ' , ((isset($this->_tpldata['.'][0]['S_SELECT_POST_DAYS'])) ? $this->_tpldata['.'][0]['S_SELECT_POST_DAYS'] : '') , ' ' , ((isset($this->_tpldata['.'][0]['S_SELECT_POST_ORDER'])) ? $this->_tpldata['.'][0]['S_SELECT_POST_ORDER'] : '') , ' 
'; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['.'][0]['L_POST_NEW_TOPIC'])) ? $this->_tpldata['.'][0]['L_POST_NEW_TOPIC'] : '') , '   ' , ((isset($this->_tpldata['.'][0]['L_POST_REPLY_TOPIC'])) ? $this->_tpldata['.'][0]['L_POST_REPLY_TOPIC'] : '') , ' '; $_switch_quick_reply_count = (isset($this->_tpldata['switch_quick_reply'])) ? sizeof($this->_tpldata['switch_quick_reply']) : 0;for ($_switch_quick_reply_i = 0; $_switch_quick_reply_i < $_switch_quick_reply_count; $_switch_quick_reply_i++){ echo '   ' , ((isset($this->_tpldata['.'][0]['L_POST_SQR_TOPIC'])) ? $this->_tpldata['.'][0]['L_POST_SQR_TOPIC'] : '') , ' '; } // END switch_quick_reply echo '   ' , ((isset($this->_tpldata['.'][0]['L_INDEX'])) ? $this->_tpldata['.'][0]['L_INDEX'] : '') , ' '; $_switch_parent_link_count = (isset($this->_tpldata['switch_parent_link'])) ? sizeof($this->_tpldata['switch_parent_link']) : 0;for ($_switch_parent_link_i = 0; $_switch_parent_link_i < $_switch_parent_link_count; $_switch_parent_link_i++){ echo ' -> ' , ((isset($this->_tpldata['.'][0]['PARENT_NAME'])) ? $this->_tpldata['.'][0]['PARENT_NAME'] : '') , ' '; } // END switch_parent_link echo ' -> ' , ((isset($this->_tpldata['.'][0]['FORUM_NAME'])) ? $this->_tpldata['.'][0]['FORUM_NAME'] : '') , '' , ((isset($this->_tpldata['.'][0]['S_TIMEZONE'])) ? $this->_tpldata['.'][0]['S_TIMEZONE'] : '') , '
' , ((isset($this->_tpldata['.'][0]['PAGINATION'])) ? $this->_tpldata['.'][0]['PAGINATION'] : '') , ' '; echo '
' , ((isset($this->_tpldata['.'][0]['PAGE_NUMBER'])) ? $this->_tpldata['.'][0]['PAGE_NUMBER'] : '') , '
'; echo ' '; $_switch_quick_reply_count = (isset($this->_tpldata['switch_quick_reply'])) ? sizeof($this->_tpldata['switch_quick_reply']) : 0;for ($_switch_quick_reply_i = 0; $_switch_quick_reply_i < $_switch_quick_reply_count; $_switch_quick_reply_i++){ echo ' ' , ((isset($this->_tpldata['.'][0]['QRBODY'])) ? $this->_tpldata['.'][0]['QRBODY'] : '') , ' '; } // END switch_quick_reply echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo '
' , ((isset($this->_tpldata['.'][0]['S_WATCH_TOPIC'])) ? $this->_tpldata['.'][0]['S_WATCH_TOPIC'] : '') , '
'; echo '  
'; echo ' ' , ((isset($this->_tpldata['.'][0]['S_TOPIC_ADMIN'])) ? $this->_tpldata['.'][0]['S_TOPIC_ADMIN'] : '') , '
' , ((isset($this->_tpldata['.'][0]['JUMPBOX'])) ? $this->_tpldata['.'][0]['JUMPBOX'] : '') , '' , ((isset($this->_tpldata['.'][0]['S_AUTH_LIST'])) ? $this->_tpldata['.'][0]['S_AUTH_LIST'] : '') , '
'; echo ' '; ?>


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites