<?php

class skin_printpage {

function choose_form($fid, $tid, $title) {
global $ibforums;
return <<<EOF
<br>
<table width='<{tbl_width}>' border='0' cellspacing='1' cellpadding='0' bgcolor='<{tbl_border}>' align='center'>
  <tr> 
	<td class='mainbg'>
	<table width='100%' border='0' cellspacing='1' cellpadding='4'>
	<tr> 
	  <td width='100%' class='titlemedium'>{$ibforums->lang['tvo_title']}&nbsp;$title</td>
	</tr>
	<tr>
	 <td class='row1'>
	 <b><a href='{$ibforums->base_url}&act=Print&client=printer&f=$fid&t=$tid'>{$ibforums->lang['o_print_title']}</a></b>
	 <br>
	 {$ibforums->lang['o_print_desc']}
	 <br><br>
	 <b><a href='{$ibforums->base_url}&act=Print&client=html&f=$fid&t=$tid'>{$ibforums->lang['o_html_title']}</a></b>
	 <br>
	 {$ibforums->lang['o_html_desc']}
	 <br><br>
	 <b><a href='{$ibforums->base_url}&act=Print&client=wordr&f=$fid&t=$tid'>{$ibforums->lang['o_word_title']}</a></b>
	 <br>
	 {$ibforums->lang['o_word_desc']}
	 <br><br><br><br>
	 &lt;&lt;<a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid'>{$ibforums->lang['back_topic']}</a></b>
	</td>
   </tr>
  </table>
 </td>
</tr>
</table>

EOF;
}



function pp_postentry($poster, $entry ) {
global $ibforums;
return <<<EOF
	<table width='90%' align='center' cellpadding='6' border='1'>
	<tr>
	 <td bgcolor='#EEEEEE'><font face='arial' size='2' color='#000000'><b>{$ibforums->lang['by']}: {$entry['author_name']}</b> {$ibforums->lang['on']} {$entry['post_date']}</b></font></td>
	</tr>
	<tr>
	 <td><font face='arial' size='3' color='#000000'>{$entry['post']}</font></td>
	</tr>
	</table>
	<br />
EOF;
}

function pp_end() {
global $ibforums;
return <<<EOF
    <center><font face='arial' size='1' color='#000000'>Powered by Invision Power Board (http://www.invisionboard.com)<br />&copy; 2002 Invision Power Services (http://www.invisionpower.com)</font></center>
EOF;
}

function pp_header($forum_name, $topic_title, $topic_starter,$fid, $tid) {
global $ibforums;
return <<<EOF
    <html>
    <head>
      <title>{$ibforums->vars['board_name']} [Powered by Invision Power Board]</title>
    </head>
    <body bgcolor='#FFFFFF' alink='#000000' vlink='#000000' link='#000000'>
     <table width='90%' border='0' align='center' cellpadding='6'>
      <tr>
       <td><b><font face='arial' size='5' color='#4C77B6'><b>{$ibforums->lang['title']}</font></b>
       	   <br /><font face='arial' size='2' color='#000000'><b><a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid'>{$ibforums->lang['topic_here']}</a></b></font>
       </td>
      </tr>
      <tr>
       <td><font face='arial' size='2' color='#000000'><b>{$ibforums->vars['board_name']} &gt; $forum_name &gt; <font color='red'>$topic_title</font></b></font></td>
      </tr>
     </table>
     <br />
     <br />
EOF;
}


}
?>