📄 global.php
字号:
<?
//新风格专用风格模板
//版权所有 Bob Shen 2003
global $winimages,$decorate1,$decorate2,$decorate3,$decorate4;
$pgo[0]=<<<EOT
<table width=$tablewidth border=0 cellspacing=0 cellpadding=0 align=center bgcolor=$bordercolor>
<tr>
<td>
<table width=100% border=0 cellspacing=1 cellpadding=3>
<tr bgcolor=$titlecolor background=$header_tile>
<td bgcolor=$titlecolor background=$header_tile class=title>$gl[375] $title</td>
</tr>
<tr bgcolor=$backgroundcolor>
<td><b>$gl[376] {$title} $gl[377]</b><BR><Br>$content<p><p><table align=center><< <a href=javascript:history.go(-1)>$gl[15]</a></table></td>
</tr>
<tr align=left bgcolor=$subcolor>
<td bgcolor=$titlecolor background=$header_tile > </td>
</tr>
</table>
</td>
</tr>
</table>
EOT;
$pgo[1]=<<<EOT
<br>
<table width=50% border=0 cellspacing=0 cellpadding=0 align=center bgcolor=$bordercolor>
<tr>
<td>
<table width=100% border=0 cellspacing=1 cellpadding=3>
<tr bgcolor=$titlecolor background=$header_tile>
<td bgcolor=$titlecolor background=$header_tile class=title>$title</td>
</tr>
<tr bgcolor=$backgroundcolor>
<td><br>$content</td>
</tr>
<tr align=left bgcolor=$subcolor>
<td bgcolor=$titlecolor background=$header_tile > </td>
</tr>
</table>
</td>
</tr>
</table>
EOT;
$pgo[2]=<<<EOT
<script language="JavaScript" type="text/javascript">
function toggleHidden(h,f)
{
if(f==1)
{
h.nextSibling.style.display='inline';
//h.style.height=h.nextSibling.scrollHeight;
}
else
{
h.nextSibling.style.display='none';
h.style.height='auto';
}
}
</script>
EOT;
//以下是风格选择hack
$chskin="<form name=skinselectname action=chskinhack.php method=post><select name='skinselectname'><option value='notchange!'>风格选择</option>";
$dh=opendir("datafile/style/");
while ($userskin=readdir($dh)) {
if (($userskin!=".") && ($userskin!="..") ) {
$chskin.= "<option value=\"$userskin\">$userskin</option>"; }
}
closedir($dh);
$chskin.= "</select><input type=submit value=确定></form>";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -