//载入全局配置和函数包 require_once dirname(__FILE__) . '/../../app.php'; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_G['product']['charset']; ?> " /> <title>IFRAME 引用代码 - Powered By VeryIDE</title> <?php echo loader_style(array(VI_BASE . "static/style/general.css", VI_BASE . "static/style/share.css"), 'utf-8', $_G['product']['version']); echo loader_script(array(VI_BASE . "static/js/mo.js", VI_BASE . "static/js/mo.drag.js", VI_BASE . "static/js/mo.interface.js"), 'utf-8', $_G['product']['version']); echo $_CACHE['system']['module']['passport'] ? loader_script(array(VI_BASE . "module/passport/js/share.js"), 'utf-8', $_G['product']['version']) : ''; ?> <style type="text/css"> #handle{position:absolute; cursor:se-resize; z-index:1000;} #bg{position:absolute;background:#333; filter:alpha(opacity=10); opacity:0.1;z-index:0; top:0;left:0; z-index:999;} </style> </head> <body> <div id="wrapper" class="auto"> <div id="header"> <h2>获取 IFRAME 引用代码</h2> </div>
for ($i = 0; $i < count($script); $i++) { echo '<script type="text/javascript" charset="utf-8" src="static/js/' . $script[$i] . '.js?ver=' . $_G['product']['version'] . '"></script>'; } //用户登录后用到的脚本 if ($_G['manager']['id']) { $script = array('mo.xml', 'mo.hash', 'mo.drag', 'mo.ajax'); for ($i = 0; $i < count($script); $i++) { echo '<script type="text/javascript" charset="utf-8" src="static/js/' . $script[$i] . '.js?ver=' . $_G['product']['version'] . '"></script>'; } } //通用样式 echo '<link type="text/css" href="static/style/extend.css?ver=' . $_G['product']['version'] . '" rel="stylesheet" />'; //界面模式 if ($config['ui-model'] == 'classic') { echo '<link type="text/css" href="static/style/classic.css?ver=' . $_G['product']['version'] . '" rel="stylesheet" />'; echo loader_script(array('static/js/serv.classic.js'), 'utf-8', $_G['product']['version']); } else { echo '<link type="text/css" href="static/style/modern.css?ver=' . $_G['product']['version'] . '" rel="stylesheet" />'; echo '<link type="text/css" id="style" href="static/theme/' . ($xmas ? 'xmas' : 'default') . '/style.css?ver=' . $_G['product']['version'] . '" rel="stylesheet" />'; } ?> <script type="text/javascript"> //当前主题 Mo.store.model = "<?php echo $config['ui-model'] ? $config['ui-model'] : 'modern'; ?> "; //当前主题 Mo.store.theme = "<?php echo $_G['manager']['theme'];
*/ //载入全局配置和函数包 require_once dirname(__FILE__) . '/../../app.php'; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_G['product']['charset']; ?> " /> <title>添加插件 - Powered By VeryIDE</title> <?php echo loader_style(array(VI_BASE . "static/style/general.css", VI_BASE . "static/style/dialog.css"), $_G['product']['charset'], $_G['product']['version']); echo loader_script(array(VI_BASE . "static/js/mo.js", VI_BASE . "static/js/serv.dialog.js"), 'utf-8', $_G['product']['version']); ?> <script> Mo.reader(function(){ //高亮选中主题 Mo("#widget button").bind( 'click', function( index , e ){ switch( this.className ){ //新添加 case "": this.innerHTML = '取消';
<?php /* * Copyright VeryIDE 2009-2012 * http://www.veryide.com/ */ require '../../source/dialog/loader.php'; html_start("统计信息 - VeryIDE"); ?> <?php //loader require 'include/naver.stats.php'; echo loader_script(array(VI_BASE . "source/jquery/jquery.min.js"), 'utf-8', $_G['product']['version']); echo loader_script(array(VI_BASE . "source/highcharts/highcharts.js", VI_BASE . "source/highcharts/highcharts-more.js", VI_BASE . "source/highcharts/modules/exporting.js"), 'utf-8', $_G['product']['version']); ?> <?php //连接数据库 System::connect(); $stat = array(); foreach ($_G['project']['stat'] as $table => $name) { $person = System::$db->getValue(parse_var('SELECT COUNT(*) FROM `sys:' . $table . '` WHERE ' . ($table == 'admin' ? 'id' : 'aid') . ' = {aid}')); $public = System::$db->getValue(parse_var('SELECT COUNT(*) FROM `sys:' . $table . '`')); $stat['cate'][] = $name; $stat['data']['person'][] = $person; $stat['data']['public'][] = $public - $person; } ?> <div class="item">系统数据(表前辍:<em><?php
<?php //载入全局配置和函数包 require_once dirname(__FILE__) . '/../../app.php'; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_G['product']['charset']; ?> " /> <title>Editor - Powered By VeryIDE</title> <?php echo loader_style(VI_BASE . "static/style/general.css", VI_BASE . "static/style/share.css", 'utf-8', $_G['product']['version']); echo loader_script(array(VI_BASE . "source/editor/kindeditor.js", VI_BASE . "source/editor/lang/zh_CN.js"), 'utf-8', $_G['product']['version']); //跨域支持(子域名必需) echo $_GET['crossdomain'] == 'true' ? '<script>' . System::cross_domain() . '</script>' : ''; ?> </head> <body> <p style="text-align:right; overflow:hidden;"> <textarea name="content" cols="50" rows="10" id="content" style="width:100%;height:320px; display:none;"></textarea> </p> <p style="text-align:right;"> <button class="button" name="finish">完成</button> <button class="cancel" name="cancel">取消</button> </p>
} echo '</script>'; exit; break; } //关闭数据库 System::connect(); break; //未登录 //未登录 default: $username = urldecode($_COOKIE[$cookie]); break; } $_SESSION['RNDCODE'] = rand_string(16); echo loader_script(array(VI_BASE . "static/js/mo.hash.js"), 'utf-8', $_G['product']['version']); ?> <script type="text/javascript"> Mo.reader(function(){ //绑定表单事件 Mo("#wrapper form").bind( 'submit', function( index, e ){ Mo.Event( e ).stop(); var result = Mo.ValidForm( this, function(x){ Mo.Message("wrong",'<div class="s"></div><div class="c">'+x+'</div><div class="e"></div>', 3, { "unique" : "message", "center" : true }); }); //将密码加密
//载入依赖库以及配置 require_once dirname(__FILE__) . '/../../app.php'; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_G['product']['charset']; ?> " /> <title>二维码(QRcode)API</title> <meta name="Description" content="qrcode encode program (QRcode cgi demo page.You can try to encode QRcode.)" /> <meta name="Keywords" content="qrcode,qr code,barcode" /> <?php echo loader_style(array(VI_BASE . "static/style/general.css", VI_BASE . "static/style/share.css"), "utf-8", $_G['product']['version']); echo loader_script(array(VI_BASE . "static/js/mo.js", VI_BASE . "static/js/mo.form.js"), "utf-8", $_G['product']['version']); ?> <script> Mo.reader(function(){ Mo('#qrcode').hide(); var data = Mo.get('data'); ///////////////////////////// var func = function( form ){ if( form.chl.value ){ var url = 'http://chart.apis.google.com/chart?cht=qr'+ Mo.Serialize( form, null, '&' );
public static function map_load() { global $_G; $base = VI_HOST . 'source/location/'; if ($_G['setting']['global']['location']['provide'] == 'google') { //加载 Google 地图 echo '<script src="http://maps.google.com/maps?file=api&v=2&key=' . $_G['setting']['global']['location']['key'] . '&sensor=false&oe=' . $_G['product']['charset'] . '&ie=' . $_G['product']['charset'] . '" type="text/javascript"></script>'; //加载 Google 地图 echo loader_script(array($base . "map.google.js"), $_G['product']['charset'], $_G['product']['version']); } else { //加载 Baidu tangram 框架,避免出现 baidu 未定义的情况(刷新页面时产生) echo '<script src="http://img.baidu.com/js/tangram-base-core-1.3.7.js" charset="utf-8" type="text/javascript"></script>'; //加载 Baidu 地图 echo '<script src="http://api.map.baidu.com/api?v=1.2" charset="utf-8" type="text/javascript"></script>'; //加载 Baidu 地图 echo loader_script(array($base . "map.baidu.js", $base . "map.baidu.g2b.js"), 'utf-8', $_G['product']['version']); } }