www.gusucode.com > 软件公司网站源码程序 > 软件公司网站源码程序/tools/admin/mark_type.php
<?php define("ROOTPATH", "../../"); include(ROOTPATH."includes/admin.inc.php"); include("language/".$sLan.".php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="css/style.css" type="text/css" rel="stylesheet"> <title><?php echo $strAdminTitle; ?></title> <script type="text/javascript" src="../../base/js/base.js"></script> <script type="text/javascript" src="../../base/js/form.js"></script> <script type="text/javascript" src="../../base/js/blockui.js"></script> <script type="text/javascript" src="js/mark_type.js"></script> </head> <body > <?php $catid= "12"; ?> <div class="searchzone"> <table width="100%" border="0" cellspacing="0" cellpadding="2" height="30"> <tr> <td align="left" > <?php $fsql -> query ("select * from {P}_photo_cat where catid='$catid'"); while ($fsql -> next_record ()) { $catpath = $fsql -> f ("catpath"); } ?> <form id="typeadd" method="post" action=""> <input id="title" name="title" type="text" class="input" value="<?php echo $strSetMarkCity; ?>" size="15" onFocus="this.value=''" /> <input type="submit" name="Submit" id="type" value="<?php echo $strMarkAdd;?>" class="button" /> <input type="hidden" name="catpath" id="catpath" value="<?php echo $catpath;?>" /> <input type="hidden" name="act" value="typeadd" /> </form> </td> <td width="150" align="left"><div id="noticediv" class="noticediv"></div></td> </tr> </table> </div> <div class="listzone"> <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center"> <tr> <td width="38" class="biaoti"><?php echo $strNumber; ?></td> <td width="135" class="biaoti"><?php echo $strMarkType; ?> </td> <td width="60" class="biaoti"><?php echo $strModify; ?></td> <td width="60" class="biaoti"><?php echo $strDelete; ?></td> </tr> <?php $msql->query("select * from {P}_photo_con where catid='$catid' order by id desc"); while($msql->next_record()){ $id=$msql->f("id"); $title=$msql->f("title"); ?> <tr class="list"> <td width="38" ><?php echo $id; ?> </td> <form id="typemodify_<?php echo $id; ?>" class="typemodify" method="get" action=""> <td width="135" > <input type="text" id="modifytitle_<?php echo $id; ?>" name="modifytitle" size="36" value="<?php echo $title; ?>" class="input" /> </td> <td width="38" > <input type="image" name="imageModify" src="images/modi.png" width="24" height="24" /> <input type="hidden" id="modifyid_<?php echo $id; ?>" name="modifyid" value="<?php echo $id;?>" /> </td></form> <form id="typedel_<?php echo $id; ?>" class="typedel" method="get" action="" name="del"> <td width="38" > <input type="image" name="imageDel" src="images/delete.png" width="24" height="24" /></td> </form> </tr> <?php } ?> </table> </div> </body> </html>