📄 skin_post.php
字号:
global $ibforums;
return "<tr class='postdetails'>\n <td class='row1' align='left' valign='top' width='20%'><b>{$data['author']}</b></td>\n <td class='row1' align='left' valign='top' width='80%'>{$ibforums->lang['posted_on']} {$data['date']}<hr noshade size='1'><span class='postcolor'>{$data['post']}</span></td>\n </tr>";
}
function edit_upload_field( $data, $file_name = "" )
{
global $ibforums;
return "<tr> \n <td class=\"postfoot\" colspan=\"2\">{$ibforums->lang['upload_title']}</td>\n </tr>\n <tr> \n <td class='row1'>{$ibforums->lang['upload_text']} {$data}</td>\n <td class='row1' width=\"100%\">\n <table cellpadding='4' cellspacing='0' width='100%' border='0'>\n <tr>\n <td><input type='radio' name='editupload' value='keep' checked></td>\n <td width='100%'><b>{$ibforums->lang['eu_keep']}</b> ( {$file_name} )</td>\n </tr>\n <tr>\n <td><input type='radio' name='editupload' value='delete'></td>\n <td width='100%'><b>{$ibforums->lang['eu_delete']}</b></td>\n </tr>\n <tr>\n <td valign='middle'><input type='radio' name='editupload' value='new'></td>\n <td width='100%'><b>{$ibforums->lang['eu_new']}</b><br><input class='textinput' type='file' size='30' name='FILE_UPLOAD' onClick='document.REPLIER.editupload[2].checked=true;'></td>\n </tr>\n </table>\n </td>\n </tr>";
}
function upload_field( $data )
{
global $ibforums;
return "<tr> \n <td class=\"postfoot\" colspan=\"2\">{$ibforums->lang['upload_title']}</td>\n </tr>\n <tr> \n <td class='row1'>{$ibforums->lang['upload_text']} {$data}</td>\n <td class='row1' width=\"100%\"><input class='textinput' type='file' size='30' name='FILE_UPLOAD'></td>\n </tr>";
}
function errors( $data )
{
global $ibforums;
return "<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>\n <tr>\n <td>\n <table cellpadding='5' cellspacing='1' border='0' width='100%'>\n <tr>\n <td class='row1' valign='top' align='left'><b>{$ibforums->lang['errors_found']}</b></font><hr noshade size='1' color='<{tbl_border}>'>{$data}</td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n <br>";
}
function calendar_end_form( $data )
{
global $ibforums;
return "<tr> \n <td class='mainfoot' align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"{$data}\" tabindex='4' class='forminput'> [Ctrl+Enter直接提交贴子]</td>\n </tr>\n </table>\n </td>\n </tr>\n </form>\n</table>";
}
function endform( $data )
{
global $ibforums;
return "<tr> \n <td class='mainfoot' align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"{$data}\" tabindex='4' class='forminput' accesskey='s'> \n <input type=\"submit\" name=\"preview\" value=\"{$ibforums->lang['button_preview']}\" tabindex='5' class='forminput'> [Ctrl+Enter直接提交贴子]</td>\n </tr>\n </table>\n </td>\n </tr>\n </form>\n</table>";
}
function smilie_table( )
{
global $ibforums;
return "<table align=\"center\" cellspacing='1' cellpadding='3' border='0' class='row2' style=\"border-width:1px; border-color:<{tbl_border}>; border-style:solid; width:95%\" align='left'>\n <tr>\n <td colspan='{$ibforums->vars['emo_per_row']}' align='center'>{$ibforums->lang['click_smilie']}</td>\n </tr>\n <!--THE SMILIES-->\n <tr>\n <td colspan='{$ibforums->vars['emo_per_row']}' class='row1' align='center'><a href='javascript:emo_pop()'>{$ibforums->lang['all_emoticons']}</a></td>\n </tr>\n </table>";
}
function topicsummary_bottom( )
{
global $ibforums;
return "<!-- Cgi-bot TopicSummaryBottom -->\n <tr>\n <td valign='left' colspan='2' class='titlemedium'><a href=\"javascript:PopUp('index.{$ibforums->vars['php_ext']}?act=ST&f={$ibforums->input['f']}&t={$ibforums->input['t']}','TopicSummary',700,450,1,1)\">{$ibforums->lang['review_topic']}</a></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n <!-- Cgi-bot End TopicSummaryBottom -->";
}
function posticons( )
{
global $ibforums;
return "<tr> \n <td valign=\"top\" class='row1'>{$ibforums->lang['post_icon']}</td>\n <td valign=\"top\" width=\"100%\" class='row1'>\n\t\t\t\t <INPUT type=\"radio\" name=\"iconid\" value=\"1\"> <IMG SRC=\"{$ibforums->vars['img_url']}/icon1.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"2\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon2.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"3\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon3.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"4\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon4.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"5\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon5.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"6\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon6.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"7\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon7.gif\" ALIGN='center' alt=''> <br>\n\t\t\t\t <INPUT type=\"radio\" name=\"iconid\" value=\"8\"> <IMG SRC=\"{$ibforums->vars['img_url']}/icon8.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"9\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon9.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"10\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon10.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"11\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon11.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"12\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon12.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"13\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon13.gif\" ALIGN='center' alt=''> <INPUT type=\"radio\" name=\"iconid\" value=\"14\" > <IMG SRC=\"{$ibforums->vars['img_url']}/icon14.gif\" ALIGN='center' alt=''> \n\t\t\t\t <BR>\n\t\t\t\t <INPUT type=\"radio\" name=\"iconid\" value=\"0\" CHECKED> [ 不使用 ]\n\t\t\t\t </td>\n </tr>";
}
function table_top( $data )
{
global $ibforums;
return "<script language='Javascript' type='text/javascript'>\n\t\t<!--\n\t\tfunction PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {\n\t\t\tif (posleft != 0) { x = posleft }\n\t\t\tif (postop != 0) { y = postop }\n\t\t\n\t\t\tif (!scroll) { scroll = 1 }\n\t\t\tif (!resize) { resize = 1 }\n\t\t\n\t\t\tif ((parseInt (navigator.appVersion) >= 4 ) && (center)) {\n\t\t\t X = (screen.width - width ) / 2;\n\t\t\t Y = (screen.height - height) / 2;\n\t\t\t}\n\t\t\tif (scroll != 0) { scroll = 1 }\n\t\t\n\t\t\tvar Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');\n\t }\n\t\t//-->\n\t</script>\n<table width=\"<{tbl_width}>\" align='center' border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"<{tbl_border}>\">\n <tr> \n <td class='maintitle'> \n \n </td>\n </tr>\n <tr> \n <td class='mainbg'> \n <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"4\">\n <tr> \n <td class='titlemedium' colspan=\"2\">{$data}</td>\n </tr>";
}
function calendar_start_form( )
{
global $ibforums;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -