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

📄 cid.php

📁 用PHP和MSSQL开发的sspace商城系统
💻 PHP
字号:
<?php
	/*
	+-------------------------------------------
	|
	|   Technology of Wane netware
	|   ========================================
	|   Powered by wan-e.net inc 
	|   (c) 2004 wane.net Power Services
	|   http://www.wan-e.net
	|   ========================================
	|   Web: http://www.wan-e.net
	|
	+-------------------------------------------
	|   Autohr	:	wsfuyibing
	+-------------------------------------------
	*/
	eval($function->load_lang('view/cid'));
	$info = (is_numeric($info) && $info >0 ) ? $info : 0;
	$query=$db->query("select * from {$tablepre}class where upid='$info' order by orderid");
	if (!$db->num($query))	
	{
		if ($newsubmit)
		{
			$function->clickback($VIEW_CID['CID_UNEXISTS']);
		}
		else
		{
			header("location:{$default_url}index.php?action=memcp&type=addstore&cid=$info");
		}
	}
	else
	{
		$cids = 0;
		$cidss = $db->num($query);
		eval($tpl->set_var(array(
			'WEBTITLE'	=>	$function->headtitle('[ '.$webtitle.' ] | '.$VIEW_CID['NAV_MEMCP'].'  | '.$VIEW_CID['NAV_ADDSP'].'  | '.$VIEW_CID['NAV_CID']),
			'NAVIGATA'	=>	"<a class='navigata' href='{$default_url}index.php?action=idx'>$webtitle</a>&nbsp;$category_separate&nbsp;<a class='navigata' href='{$default_url}index.php?action=memcp&type=addstore'>$VIEW_CID[NAV_ADDSP]</a>&nbsp;$category_separate&nbsp;$VIEW_CID[NAV_CID]",
		)));		
		if ($html_onoff && $html_news)
		{
			$filename = (is_numeric($info) && $info >0 ) ? $info : 'index';
			$newsubmit	=	$newsubmit	?	'1'	:	'0';
			$createhtml	=	array($dirhtml_category,'',$filename,$newsubmit);
		}					
		$tplfiles	=	array('header','cid_show','footer');	
	}
?>

⌨️ 快捷键说明

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