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

📄 services.inc

📁 不错的东西
💻 INC
字号:
<?php/**  Justin Osterholt*  11/28/05*  Invisible package addon*/if($_SESSION['error']){	if($conf['verbose']['order'] == 1)	{		foreach($_SESSION['error']['msg'] as $msg)		{			$message .= "<li>$msg</li>\n";		}	}?>	<tr>	<ul class="error">		<li>Please correct the following required fields below!</li>		<?=$message?>	</ul>	</tr>	<?php}$query = $sql->query("SELECT * FROM packages WHERE `invisible` = '0';");if(mysql_num_rows($query) > 0){	?>	<form method="post" action="<?=$_SERVER['PHP_SELF']?>">	<fieldset>	<legend>Package Selection</legend>	<table>	<?php		while($data = mysql_fetch_assoc($query))		{			$_SESSION['order']['packages'][$data['id']]['name'] = $data['pkg_name'];			$_SESSION['order']['packages'][$data['id']]['type'] = $data['pkg_type'];			$_SESSION['order']['packages'][$data['id']]['prices']['1'] = $data['monthly'];			$_SESSION['order']['packages'][$data['id']]['prices']['2'] = $data['quarterly'];			$_SESSION['order']['packages'][$data['id']]['prices']['3'] = $data['biannually'];			$_SESSION['order']['packages'][$data['id']]['prices']['4'] = $data['annually'];			?>			<tr>			<td><input type="radio" name="package" id="<?=$data['id']?>" value="<?=$data['id']?>" /></td>			<td><strong><label for="<?=$data['id']?>"><?=$data['pkg_name']?></label></strong></td>			</tr>			<?php		}		?>	<tr>		<input type="hidden" name="step" value="1" />		<td colspan="2"><input type="submit" value="next" /></td>	</tr>	<tr>	</table>	</fieldset>	</form>	<?php}else{	echo "<p>No services were found, please contact the sales department!</p>";}?>

⌨️ 快捷键说明

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