📄 temp.php
字号:
<?php
include("../config.inc.php");
include("../includes/SysGlobal.php");
include("language/".$aLan."_".$charset.".php");
include("../includes/version.php");
include("../includes/pro.php");
include("func/adm.inc.php");
include("func/common.inc.php");
include("func/link.inc.php");
include("func/temp.inc.php");
include("func/db.inc.php");
include("func/nocatch.php");
NeedAuth(14);
ChkLic();
?>
<html>
<head >
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>">
<link id="style_sheet" href="css/commonstyle.css" type="text/css" rel="stylesheet">
<title><?php echo $strAdminTitle; ?></title>
</head>
<body class="NormalPage">
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center" background="images/mu8.gif" height="30" >
<tr>
<td > <img src="images/bar.gif" > <?php echo $strTempSet; ?></td>
<td width="70" align="center" >
<input type="button" name="Button" value="<?php echo $strTempSpool; ?>" class="button" onClick="self.location='tempsel.php'">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/mu1.jpg" height="5">
<tr>
<td></td>
</tr>
</table>
<?php
$step=$_REQUEST["step"];
$fold=$_REQUEST["fold"];
if($step=="set"){
$msql->query("update $tbl_menu set skin='$fold'");
}
if($step=="save"){
TempSave();
exit;
}
$msql->query("select skin from $tbl_menu where menuid='1'");
if($msql->next_record()){
$nowskin=$msql->f('skin');
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td width="60" class="title" height="26" align="center"><font color="#FFFFFF"><?php echo $strTempId; ?></font></td>
<td width="50" class="title" height="26"> </td>
<td class="title" height="26"><font color="#FFFFFF"><?php echo $strTempFold; ?>
</font></td>
<td width="180" class="title" height="26"><font color="#FFFFFF"><?php echo $strTempWidth; ?></font></td>
<td class="title" height="26" width="120" align="center"><font color="#FFFFFF"><?php echo $strTempLook; ?></font></td>
<td class="title" height="26" width="100" align="center"> </td>
<td class="title" align="center" width="60"><?php echo $strTempUse; ?> </td>
<td class="title" align="center" width="60"><?php echo $strModify; ?></td>
</tr>
<?php
$skstr="";
$fd=fopen("../templates/skin.dat","r");
$str=fread($fd,2000);
fclose($fd);
$arr=explode("\n",$str);
$nums=sizeof($arr)-1;
for($i=0;$i<=$nums;$i++){
$lskin=str_replace("\r","",$arr[$i]);
$lskin=str_replace("\n","",$lskin);
$lskin=trim($lskin);
if($lskin!=""){
$sk=explode("|",$lskin);
if(sizeof($sk)==3){
$id=$sk[0];
$tempname=$sk[1];
$tempfold=$sk[2];
?>
<tr class="list">
<td width="60" align="center"><?php echo $id; ?> </td>
<td width="50" > </td>
<td ><?php echo $tempfold; ?></td>
<td width="180" > <?php echo $tempname; ?> PX</td>
<td width="120" align="center" ><?php
if(file_exists("../templates/".$tempfold."/images/tempshow.gif")){
echo "<img src=images/image.gif onClick=\"StDv".$id.".style.visibility='visible'\">";
}else{
echo "<img src=images/noimage.gif >";
}
?>
<div id="StDv<?php echo $id; ?>" style="position:absolute; width:100px; height:100px; z-index:1; visibility: hidden">
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%" bgcolor="#CCCCCC" style='border:5px #ffffff solid;filter:progid:DXImageTransform.Microsoft.Shadow(Color=#333333,Direction=120,strength=3);'>
<tr align="right" bgcolor="#f0f0f0">
<td height="10" valign="top"><img src="images/closewindow.gif" width="12" height="12" onClick="StDv<?php echo $id; ?>.style.visibility='hidden'"></td>
</tr>
<tr bgcolor="#FFFFFF" align="center">
<td onClick="StDv<?php echo $id; ?>.style.visibility='hidden'"><?php
echo "<img src='../templates/".$tempfold."/images/tempshow.gif'>";
?> </td>
</tr>
</table>
</div>
</td>
<td width="100" align="center" > </td>
<td width="60" align="center" ><?php
if($tempfold==$nowskin){
?> <img src="images/tempuse.gif" width="18" height="18"> <?php
}else{
?> <img src="images/tempnouse.gif" width="18" height="18" style="cursor:hand;" onClick="self.location='temp.php?step=set&fold=<?php echo $tempfold; ?>'">
<?php
}
?> </td>
<td width="60" align="center" ><a href="tempftp.php?fold=<?php echo $tempfold; ?>"><img src="images/toolbar_locate_up.gif" width="22" height="20" border="0"></a></td>
</tr>
<?php
}
}
}
?>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="10" background="images/mu1.jpg">
<tr>
<td align="center" height="2" colspan="2"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -