⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_side_menu.php

📁 The Shift Log is a database entry and display system that is built off of PHP and MySQL. The log use
💻 PHP
字号:
<?PHP
			// Menu For the Category Select
			$conn;
			$menu_sql = "SELECT m_id, m_name FROM side_menu"; 
			$menu_result = mysql_query($menu_sql); 
			$menu_options = "";
			$menu_num_options = ""; //for possible future use
			while ($row = mysql_fetch_array($menu_result)) 
				{ 
				$id = $row["m_id"];
				$menu = $row["m_name"]; 
    			$menu_options.="<OPTION VALUE=\"$id\">".$menu; 
				}
		?>
	<br />
		<!--Modify Side Menu -->
	<form name="mod_cat" action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>" method="post">
	<table width="63%" border="1" bgcolor="#CCCCCC">
  		<tr>
  			<td colspan="3" align="center"><p><strong>Modify Side Menu</strong></p>
		    </td>
    	</tr>
  		<tr>
    		<td width="28%">Select Link:</td>
    		<td width="32%" align="center"><select name="mid"><option value=0>Select One<?PHP echo $menu_options;?></select></td>
			<td width="40%"></td>
  		</tr>
  		<tr>
  		  <td>Duisplay Name:</td>
  		  <td align="center"><input type="text" name="m_mname" value="" ></td>
		  <td><input name="conf_mname" type="checkbox">
	      <font size="-3" color="#FF0000">Check if you want to modify the name.</font></td>
  		</tr>
  		<tr>
    		<td>Address: </td>
    		<td align="center"><input type="text" name="m_mlink"></td>
			<td><input name="conf_mlink" type="checkbox"><font size="-3" color="#FF0000">Check if you want to modify the address.</font></td>
  		</tr>
  		<tr>
    		<td align="center"><input type="reset"></td>
    		<td><input type="submit" name="m_menu" value="Submit" /></td>
			<td></td>
  		</tr>
	</table>
	</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -