📄 cp_con.php
字号:
"ord" => $ord,
"showtj" => $showtj,
"showfb" => $showfb,
"key" => $key
) );
$pages->set( $shownum, $totalnums );
$pagelimit = $pages->limit( );
if ( $pid == "0" )
{
$dis = " disabled";
}
else
{
$tsql->query( "select catid from {$tbl_cp_cat} where pid='{$pid}'" );
if ( $tsql->next_record( ) )
{
$dis = " disabled";
}
else
{
$dis = " ";
}
}
$foldname = menufold( $menuid );
echo " \r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"#FFFFFF\" align=\"center\" height=\"30\">\r\n <tr> \r\n <form method=\"get\" action=\"cp_con.php\" target=\"con\">\r\n \r\n <td class=title height=\"30\"> \r\n <input type=\"text\" name=\"key\" size=\"23\" class=input value=\"";
echo $key;
echo "\">\r\n ";
echo "<s";
echo "elect name=\"showtj\">\r\n <option value=\"all\" >";
echo $strCpSelTj;
echo "</option>\r\n <option value=\"1\" ";
echo seld( $showtj, "1" );
echo ">";
echo $strCpSelTjYes;
echo "</option>\r\n <option value=\"0\" ";
echo seld( $showtj, "0" );
echo ">";
echo $strCpSelTjNo;
echo "</option>\r\n </select>\r\n";
echo "<s";
echo "elect name=\"showfb\">\r\n <option value=\"all\" >";
echo $strCpSelFb;
echo "</option>\r\n <option value=\"1\" ";
echo seld( $showfb, "1" );
echo ">";
echo $strCpSelFbYes;
echo "</option>\r\n <option value=\"0\" ";
echo seld( $showfb, "0" );
echo ">";
echo $strCpSelFbNo;
echo "</option>\r\n </select>\r\n";
echo "<s";
echo "elect name=\"shownum\">\r\n\r\n <option value=\"10\" ";
echo seld( $shownum, "10" );
echo ">";
echo $strCpSelNum10;
echo "</option>\r\n <option value=\"20\" ";
echo seld( $shownum, "20" );
echo ">";
echo $strCpSelNum20;
echo "</option>\r\n <option value=\"30\" ";
echo seld( $shownum, "30" );
echo ">";
echo $strCpSelNum30;
echo "</option>\r\n <option value=\"50\" ";
echo seld( $shownum, "50" );
echo ">";
echo $strCpSelNum50;
echo "</option>\r\n </select>\r\n <font color=\"#000000\">\r\n <input type=\"hidden\" name=\"menuid\" value=\"";
echo $menuid;
echo "\">\r\n </font> \r\n <input type=\"submit\" name=\"Submit\" value=\"";
echo $strSearchTitle;
echo "\" class=button>\r\n \r\n </td>\r\n </form>\r\n \r\n <td class=title colspan=\"2\" align=\"right\"> \r\n <input type=\"text\" name=\"sssss\" size=\"48\" class=titleinput value=\" ";
echo catid2cat( $pid, $tbl_cp_cat );
echo "\" readonly>\r\n <input type=\"button\" name=\"Button\" value=\"";
echo $strCpAddButton;
echo "\" class=button onClick=\"self.location='cp_conadd.php?menuid=";
echo $menuid;
echo "&pid=";
echo $pid;
echo "'\" ";
echo $dis;
echo ">\r\n </td>\r\n </tr>\r\n</table>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"images/mu1.jpg\" height=\"5\">\r\n <tr> \r\n <td></td>\r\n </tr>\r\n</table>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" align=\"center\">\r\n <tr class=list> \r\n <td width=\"30\" align=\"center\" class=\"title\" style=\"cursor:hand\" onClick=\"ord('id','";
echo $sc;
echo "')\">";
echo $strSel;
echo "</td>\r\n <td width=\"36\" align=\"center\" class=\"title\" style=\"cursor:hand\" onClick=\"ord('id','";
echo $sc;
echo "')\"><font color=\"#FFFFFF\">";
echo $strCpList2;
ordsc( $ord, "id", $sc );
echo "</font></td>\r\n <td class=\"title\" align=\"center\" width=\"38\">";
echo $strCpList3;
echo " </td>\r\n <td height=\"28\" class=\"title\" style=\"cursor:hand\" onClick=\"ord('title','";
echo $sc;
echo "')\"><font color=\"#FFFFFF\">";
echo $strCpList4;
ordsc( $ord, "title", $sc );
echo "</font></td>\r\n <td height=\"28\" width=\"48\" class=\"title\" align=\"center\" style=\"cursor:hand\" onClick=\"ord('cl','";
echo $sc;
echo "')\">";
echo $strCpList5;
echo "<font color=\"#FFFFFF\">";
ordsc( $ord, "cl", $sc );
echo "</font></td>\r\n <td height=\"28\" width=\"48\" class=\"title\" align=\"center\"><font color=\"#FFFFFF\">";
echo $strCpList14;
echo "</font></td>\r\n <td height=\"28\" width=\"48\" class=\"title\" align=\"center\">";
echo $strCpList6;
echo " \r\n </td>\r\n <td width=\"48\" align=\"center\" class=\"title\" >";
echo $strSecure;
echo "</td>\r\n <td width=\"48\" align=\"center\" class=\"title\">";
echo $strLook;
echo "</td>\r\n <td height=\"28\" width=\"48\" class=\"title\"> \r\n <div align=\"center\"><font color=\"#FFFFFF\">";
echo $strCpList9;
echo "</font></div>\r\n </td>\r\n <td height=\"28\" width=\"48\" class=\"title\"> \r\n <div align=\"center\"><font color=\"#FFFFFF\">";
echo $strCpList11;
echo "</font></div>\r\n </td>\r\n </tr>\r\n <form name=\"delfm\" method=\"post\" action=\"cp_con.php\">\r\n ";
$msql->query( "select * from {$tbl_cp_con} where {$scl} order by {$ord} {$sc} limit {$pagelimit}" );
while ( $msql->next_record( ) )
{
$id = $msql->f( "id" );
$catid = $msql->f( "catid" );
$title = $msql->f( "title" );
$xuhao = $msql->f( "xuhao" );
$cl = $msql->f( "cl" );
$tj = $msql->f( "tj" );
$ifbold = $msql->f( "ifbold" );
$ifred = $msql->f( "ifred" );
$iffb = $msql->f( "iffb" );
$src = $msql->f( "src" );
$type = $msql->f( "type" );
$secure = $msql->f( "secure" );
$browseurl = "../".$foldname."/html/?".$id.".html";
echo " \r\n <tr class=list> \r\n <td width=\"30\" align=\"center\" height=\"26\"> \r\n <input type=\"checkbox\" name=\"dall[]\" value=\"";
echo $id;
echo "\">\r\n </td>\r\n <td width=\"36\" align=\"center\" height=\"26\"> ";
echo "{$id}";
echo " </td>\r\n <td align=\"center\" width=\"38\"> ";
if ( $src == "" )
{
echo "<img src=images/noimage.gif >";
}
else
{
echo "<img src=images/image.gif onClick=\"StDv".$id.".style.visibility='visible'\">";
}
echo " \r\n <div id=\"StDv";
echo $id;
echo "\" style=\"position:absolute; width:100px; height:100px; z-index:1; visibility: hidden\"> \r\n <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\" height=\"100%\" bgcolor=\"#666666\" style='border:5px #ffffff solid;filter:progid:DXImageTransform.Microsoft.Shadow(Color=#333333,Direction=120,strength=3);'>\r\n <tr align=\"right\" bgcolor=\"#CCCCCC\"> \r\n <td height=\"10\" val";
echo "ign=\"top\"><img src=\"images/closewindow.gif\" width=\"12\" height=\"12\" onClick=\"StDv";
echo $id;
echo ".style.visibility='hidden'\"></td>\r\n </tr>\r\n <tr bgcolor=\"#FFFFFF\" align=\"center\"> \r\n <td onClick=\"StDv";
echo $id;
echo ".style.visibility='hidden'\">";
if ( $src == "" )
{
echo "";
}
else
{
$showsrc = "../".$src;
echo showtypeimage( $showsrc, $type, "", "", 0 );
}
echo " </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </td>\r\n <td><font color=\"#000000\"> ";
echo "{$title}";
echo " </font></td>\r\n <td width=\"48\" align=\"center\">";
echo "{$cl}";
echo "</td>\r\n <td width=\"48\" align=\"center\"> ";
showyn( $iffb );
echo "</td>\r\n <td width=\"48\" align=\"center\"> ";
showyn( $tj );
echo " </td>\r\n <td width=\"48\" align=\"center\"> ";
echo $secure;
echo "</td>\r\n <td width=\"48\" align=\"center\"><a href=\"";
echo $browseurl;
echo "\" target=\"_blank\"><img src=\"images/toolbar_look_up.gif\" width=\"22\" height=\"20\" border=\"0\"></a></td>\r\n <td width=\"48\"> \r\n <div align=\"center\"> <img src=\"images/toolbar_edit_up.gif\" style=\"cursor:hand\" width=\"22\" height=\"20\" onClick=\"window.location='cp_conmod.php?id=";
echo $id;
echo "&oldmenuid=";
echo $menuid;
echo "&pid=";
echo $pid;
echo "&page=";
echo $page;
echo "'\"> \r\n </div>\r\n </td>\r\n <td width=\"48\" align=\"center\"> <img src=\"images/toolbar_delete_up.gif\" style=\"cursor:hand\" width=\"22\" height=\"20\" onClick=\"cm('";
echo "{$id}";
echo "')\"> \r\n </td>\r\n </tr>\r\n ";
}
echo " \r\n <tr> \r\n <td height=\"30\" colspan=\"11\" class=title style=\"padding-left:6px\"> \r\n <input type=\"checkbox\" name=\"SELALL\" value=\"1\" onClick=\"SelAll(this.form)\">\r\n ";
echo $strSelAll;
echo " \r\n <input type=\"radio\" name=\"step\" value=\"delall\">\r\n ";
echo $strDelete;
echo " \r\n <input type=\"radio\" name=\"step\" value=\"fball\" checked>\r\n ";
echo $strCpFb;
echo " \r\n <input type=\"radio\" name=\"step\" value=\"notfball\">\r\n ";
echo $strCpNotFb;
echo " \r\n <input type=\"radio\" name=\"step\" value=\"tjall\">\r\n ";
echo $strCpTj;
echo " \r\n <input type=\"radio\" name=\"step\" value=\"nottjall\">\r\n ";
echo $strCpNotTj;
echo " <a style=\"cursor:hand;color:#ffffff;font-weight:bold\" onClick=\"delfm.submit()\">[ \r\n ";
echo $strSubmit;
echo " ]</a> \r\n <input type=\"hidden\" name=\"page\" size=\"3\" value=\"";
echo $page;
echo "\">\r\n <input type=\"hidden\" name=\"ord\" size=\"3\" value=\"";
echo $ord;
echo "\">\r\n <input type=\"hidden\" name=\"sc\" size=\"3\" value=\"";
echo $sc;
echo "\">\r\n <input type=\"hidden\" name=\"key\" size=\"3\" value=\"";
echo $key;
echo "\">\r\n <font color=\"#000000\"> \r\n <input type=\"hidden\" name=\"showtj\" value=\"";
echo $showtj;
echo "\">\r\n <input type=\"hidden\" name=\"showfb\" value=\"";
echo $showfb;
echo "\">\r\n <input type=\"hidden\" name=\"pid\" value=\"";
echo "{$pid}";
echo "\">\r\n <input type=\"hidden\" name=\"shownum\" value=\"";
echo $shownum;
echo "\">\r\n <input type=\"hidden\" name=\"menuid\" value=\"";
echo $menuid;
echo "\">\r\n </font> </td>\r\n </tr>\r\n </form>\r\n</table>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"6\" bgcolor=\"#FFFFFF\" align=\"center\" background=\"images/mu1.jpg\" height=\"29\">\r\n <tr> \r\n <td class=pages>";
$pages->shownow( );
echo " </td>\r\n <td class=pages width=\"300\" align=\"right\">";
$pages->output( $ShowPageList );
echo "</td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -