Example #1
0
<?php

include_once "../../frame.php";
use_jquery();
js_include_tag('jquery.colorbox-min');
$pos = new table_class('eb_page_pos');
$pos->find_by_name($_POST[pos][name]);
$pos->update_file_attributes('pos');
$pos->update_attributes($_POST['pos'], false);
$pos->save();
?>
<script>
	parent.$.fn.colorbox.close();
	parent.frames['admin_iframe'].location.reload();
</script>
Example #2
0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-cn>
	<title>福布斯中文网</title>
	<?php 
include_once dirname(__FILE__) . "/../../frame.php";
use_jquery_ui();
js_include_tag('jquery.colorbox-min', 'admin/position/edit');
css_include_tag('jquery_ui', 'admin');
$pos = new table_class('fb_page_pos');
$pos->find_by_name($_GET['pos_name']);
$fields['link'] = array("标题", "", "mouseover", "链接", "静态链接", "", "", "过期时间", "", "", "说明");
$fields['rich_index_head'] = array("头条标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['link_withouttime'] = array("标题", "", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['link_img'] = array("标题", "", "mouseover", "链接", "静态链接", "图片", "", "过期时间", "", "", "说明");
$fields['link_img_withouttime'] = array("标题", "", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['img_title'] = array("", "", "mouseover", "", "", "图片", "", "", "", "", "");
$fields['base_img_withoutime'] = array("标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['base'] = array("标题", "描述", "mouseover", "链接", "静态链接", "", "", "过期时间", "", "", "说明");
$fields['base_ntime'] = array("标题", "描述", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['base_img'] = array("标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "过期时间", "", "", "说明");
$fields['index_column'] = array("专栏名", "", "mouseover", "链接", "静态链接", "图片", "", "", "用户名", "", "说明");
$fields['index_column2'] = array("专栏名", "", "", "", "", "图片", "", "", "专栏链接", "", "说明");
$fields['index_event'] = array("标题", "", "地点", "链接", "", "图片", "", "", "", "举办日期", "说明");
$fields['magazine'] = array("杂志标题", "杂志介绍", "mouseover", "链接", "", "杂志图片", "", "", "", "", "说明");
$fields['magazine_index'] = array("杂志标题", "", "出版日期", "链接", "", "杂志图片", "", "过期时间", "杂志name", "", "说明");
$fields['simple_magazine'] = array("杂志标题", "", "mouseover", "链接", "", "杂志图片", "", "过期时间", "", "", "说明");
$fields['only_link'] = array("", "", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['only_title'] = array("标题", "", "mouserover", "链接", "静态链接", "", "", "", "", "", "");