【php开源代码栏目提醒】:以下是网学会员为您推荐的php开源代码-zh-cn_vspacecp_specials.php,希望本篇文章对您学习有所帮助。
<? if(!defined('IN_SUPEV')) exit('Access Denied'); ?>锘?
<? if(isset($inajax)) { ?><style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style><? ob_end_clean(); ob_start(); @header("Expires: -1"); @header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE); @header("Pragma: no-cache"); @header("Content-type: application/xml; charset=$charset"); echo '<?
xml version="1.0" encoding="'.$charset.'"?>'; ?><root><![CDATA[<? } else { ?><head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" />
<meta name="keywords" content="<?=$settings['seo_key
words']?>" />
<meta name="description" content="<?=$metadescription?> <?=$settings['seo_description']?>" - SupeV />
<title><?=$seo_title?></title>
<? if(isset($invspacecp)) { ?>
<link href="<?=THEME_PATH?>css/vspacecp.css" rel="stylesheet" type="text/css" />
<? } else { ?>
<link href="<?=THEME_PATH?>css/supev.css" rel="stylesheet" type="text/css" />
<? } ?>
</head>
<body>
<script>
<?=$jscode?>
</script>
<script src="./js/common.js" type="text/javascript"></script>
<script src="./js/ajax.js" type="text/javascript"></script>
<script src="./js/menu.js" type="text/javascript"></script>
<? if($member['mid'] && !isset($cookie['checkpm'])) { ?>
<script src="./pm.php?checknewpm" type="text/javascript"></script>
<? } ?>
<div id="supevbox"></div>
<? if(isset($ajaxpage)) { if($action == 'myvideos' || $action == 'myfavs' || $action == 'mv_myupload' || $action == 'mv_myfav' || $action == 'searchvideo') { ?>
<div class="area module ajaxpage_video my_vcontent">
<? } elseif($action == 'myspecials' || $action == 'mysubsps' || $action == 'mv_mysp' || $action == 'mv_mysubsp') { ?>
<div class="area module
ajaxpage_album my_vcontent_sp">
<? } elseif($action == 'mysubms' || $action == 'subsme' || $action == 'mv_mysubmem' || $action == 'mv_myfriend') { ?>
<div class="area module ajaxpage_member my_vuser">
<? } else { ?>
<div class="area">
<? } } } if($action == 'add') { ?>
<? if($status == 'nosubmit') { ?>
<script type='text/javascript' src='./js/vspacecp/special.js'></script>
<div class="mainbody">
<form name='createform' action='' method='post'>
<h1>鏂板缓鐝骇</h1>
<div class="mainbody_content">
<div class="border_style">
<h2>濉啓鐝骇淇℃伅</h2>
<table width="100%" style="font-size:12px" cellpadding="0" cellspacing="0" >
<tr valign="top">
<td class="information_left"><pre>*</pre>鐝骇鏍囬: </td>
<td><input id='subject' size='36' name='subject' value='<?=$subject?>' /></td>
</tr>
<tr valign="top">
<td class="information_left"><pre>*</pre>鐝骇浠嬬粛: </td>
<td><textarea name='description' id='descriptionid'><?=$description?></textarea></td>
</tr>
<tr valign="top">
<td class="information_left"><pre>*</pre>绉垎锛?/td>
<td><input type='text' id='integral' size='20' name='integral' value='<?=$integral?>' /></td>
</tr>
<tr valign="top">
<td class="information_left"><pre>*</pre>鐝骇鏍囩: </td>
<td>
<input type='text' id='tags' onfocus='javascript:this.select()' size='20' name='tags' value='<?=$tags?>' />
<button type="button" name="search" value="true" onclick="relatekw();return false;" ><span style="font-size:12px">鍙敤鏍囩</span></button>
<span id="tagselect" style="float:left;"></span> </td>
</tr>
<tr valign="top">
<td></td>
<td>
澶氫釜鏍囩鐢ㄩ楀彿鏉ュ垎闅?br />
<!-- 鎴戠敤杩囩殑鏍囩: 榻愬ぉ澶ц儨 灏忕嫍鍜屽皬鐚?鍛ㄦ澃浼?-> </td>
</tr>
<tr valign="top">
<td class="information_left"><pre>*</pre>鐝骇鍒嗙被: </td>
<td>
<ul class="tag_catalog"><? if(is_array($cache['categories'])) { foreach($cache['categories'] as $category) { ?> <li>
<input type="radio" name="cid" id="category_<?=$category['cid']?>" value="<?=$category['cid']?>"
<? if($lastinfor) { ?>
<? if(($lastinforarr['cid']==$category['cid'])) { ?>
checked="checked"
<? } ?>/>
<? } else { ?>
<? if($i++ == 0) { ?>checked="checked"<? } ?>/>
<? } ?>
<label for="category_<?=$category['cid']?>"><?=$category["subject"]?></label>
</li>
<? } } ?></ul> </td>
</tr>
</table>
</div>
<table style="font-size:12px" cellpadding="0" cellspacing="0">
<tr height="20">
<td width="220"></td>
<td colspan="2" align="center">
<? if(($settings['feed']['addspecial'] && $cache['uchome_exists'])) { ?>
<input type='checkbox' id='isfeed'
style="vertical-align:middle" name='isfeed' value="1"
<? if($mpreferences['per_feed']) { ?>
checked="checked"
<? } ?>
/>
<label for='feed'>鍔犲叆浜嬩欢</l