store.php

来自「用PHP和MSSQL开发的sspace商城系统」· PHP 代码 · 共 31 行

PHP
31
字号
<?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
	+-------------------------------------------
	*/
	$query	=	$db->query("SELECT m.uid,m.username,m.kind,g.kind,g.title,s.* FROM {$tablepre}member m,{$tablepre}usergroup g,{$tablepre}storeinfo s WHERE m.uid=s.uid and m.kind=g.kind and s.uid='$info' limit 1");
	$row	=	$db->row($query);
	eval($function->load_lang('view/store'));
	require $wane_root.'globals/class_code.php';
	eval($tpl->set_var(array(
		'WEBTITLE'		=>	$function->headtitle('[ '.$webtitle.' ] | '.$VIEW_STORE['TITLE'].' | '.$row['storename']),
		'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=stores'>$VIEW_STORE[TITLE]</a>&nbsp;$category_separate&nbsp;$row[storename]</a>",
	)));
	if ($html_onoff && $html_store)
	{
		$newsubmit	=	$newsubmit	?	'1'	:	'0';
		$createhtml	=	array($dirhtml_store,'',$row['uid'],$newsubmit);
	}
	$tplfiles	=	array('header','store_show','footer');
?>

⌨️ 快捷键说明

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