P8CONFIG.RESOURCE = 'http://sharp.php168.net'; var SYSTEM = 'cms', MODULE = 'item', ACTION = 'view', LABEL_URL = 'http://sharp.php168.net/index.php/cms/item-view-id-1172-page-1?', $this_router = 'http://sharp.php168.net/index.php/cms/item', $this_url = $this_router +'-'+ ACTION, SKIN = 'http://sharp.php168.net/skin/school707/cms/', TEMPLATE = 'school707'; mobile_status= '', mobile_auto_jump='', mobile_url = 'http://120.26.77.20/sharp/m'; if(mobile_status=='1' && SYSTEM!='sites'){ if(browser.versions.android || browser.versions.iPhone || browser.versions.iPad){ if(mobile_auto_jump=='1' && mobile_url!=P8CONFIG.RESOURCE){ var this_url = location.href,_pul=P8CONFIG.RESOURCE; if(this_url.indexOf(mobile_url)==-1 && this_url.indexOf('s.php')==-1 && this_url.indexOf('u.php')==-1 && this_url.indexOf('admin.php')==-1 && SYSTEM!='sites'){ if(this_url.indexOf(P8CONFIG.RESOURCE+'/html')!=-1)_pul+='/html'; this_url = this_url.replace(_pul, mobile_url); location.href = this_url; } } } } function doshouye() { alert("请使用浏览器选项进行设置!"); } function doshoucang() { alert("请使用Ctrl+D进行添加!"); }
$(document).ready(function(){ //**show_edit**// init_labelshows('header_t'); $('#menu_nav li>dl').hide(); $("#menu_nav li:first").addClass('over'); $("#menu_nav li").each(function () { $(this).hover( function(){ $('#menu_nav li').removeClass(); $('#menu_nav li>dl').hide(); $(this).addClass('over'); $(this).find('dl').show(); $(this).find('dl').css({left: parseInt($(this).position().left) + 'px'}); }, function(){ $(this).find('dl').hide(); } ) }); })
var item_id = 1172, model = 'article', item_cid = 857, verified = $_GET['verified'] !== undefined || $_GET['verified'] == 1 ? 1 : 0; $(function(){ if(get_cookie('IS_ADMIN') == 1){ item_operation($('#operation').show()); } });