Ejemplo n.º 1
0
    $zbp->Config('x2013')->PostAdFooter = $_POST['PostAdFooter'];
    $zbp->SaveConfig('x2013');
    $zbp->ShowHint('good');
}
?>
<style>
input.text{background:#FFF;border:1px double #aaa;font-size:1em;padding:0.25em;}
p{line-height:1.5em;padding:0.5em 0;}
</style>
<div id="divMain">
	<div class="divHeader"><?php 
echo $blogtitle;
?>
</div>
  	<div class="SubMenu"><?php 
x2013_SubMenu(3);
?>
</div>
	<div id="divMain2">
	<form id="form1" name="form1" method="post">	
    <table width="100%" style='padding:0px;margin:0px;' cellspacing='0' cellpadding='0' class="tableBorder">
  <tr>
    <th width='20%'><p align="center">广告位</p></th>
    <th width='70%'><p align="center">内容</p></th>
  </tr>
  <tr>
    <td  rowspan="2" colspan="1"><b><label for="PostAdHeader"><p align="center">文章开始广告位(建议宽度880px)</p></label></b></td>
    <td><p align="left"><textarea name="PostAdHeader" type="text" id="PostAdHeader" style="width: 80%;"><?php 
echo $zbp->Config('x2013')->PostAdHeader;
?>
</textarea></p></td>
Ejemplo n.º 2
0
if (!$zbp->CheckPlugin('x2013')) {
    $zbp->ShowError(48);
    die;
}
$blogtitle = '主题配置';
require $blogpath . 'zb_system/admin/admin_header.php';
require $blogpath . 'zb_system/admin/admin_top.php';
?>
<style>p{line-height:1.5em;padding:0.5em 0;}</style>
<div id="divMain">
	<div class="divHeader"><?php 
echo $blogtitle;
?>
</div>
  	<div class="SubMenu"><?php 
x2013_SubMenu(2);
?>
</div>
	<div id="divMain2">
    <table width="100%" style='padding:0px;margin:0px;' cellspacing='0' cellpadding='0' class="tableBorder">
	  <tr>
		<th width="20%">
	<ol>
  <li>1、本主题移植自WordPress同名主题<a href="http://lisizhang.com/x2013" target="_blank">X2013</a>,主题涉及的图片、CSS等版权归原作者<a href="http://lisizhang.com/" target="_blank">菠萝</a>所有,同时感谢好友菠萝为本主题所做的设计。</li>
  <li>2、本主题Z-Blog、Z-BlogPHP版本版权归<a href="http://imzhou.com"  target="_blank">未寒</a>所有,包括但不限于主题附带插件等。</li>
  <li>3、本主题自带一个设置插件,可设置博客前台部分显示资料,如果设置内容为空则不会显示该项内容。</li>
  <li>4、当切换为其他主题,即禁用本主题时,使用本主题时产生的所有配置文件将自动删除。</li>
</ol>	
		</th>
	  </tr>
	</table>
Ejemplo n.º 3
0
    $navcontent = str_replace($zbp->host, '{$host}', $navcontent);
    $zbp->Config('x2013')->NavBar = $navcontent;
    $zbp->SaveConfig('x2013');
    $zbp->ShowHint('good');
}
?>
<style>p{line-height:1.5em;padding:0.5em 0;}</style>
<link href="style/plugin/modern.css" rel="stylesheet">
<script type="text/javascript" src="style/plugin/accordion.js"></script>
<div id="divMain">
	<div class="divHeader"><?php 
echo $blogtitle;
?>
</div>
  	<div class="SubMenu"><?php 
x2013_SubMenu(1);
?>
</div>
	<div id="divMain2">
		<div class="widget-list ui-droppable" style="min-width: 830px;">
		<div class="widget-list-header">添加导航链接</div>
		<div class="widget-list-note">请点击选择您要添加的链接类型</div>
			<ul data-role="accordion" class="accordion span10">
                    <li>
                        <a href="#">文章</a>
                        <div>
                           <div class="input-control select">
                                    <select multiple="1" size="10" id="post">
										<?php 
x2013_get_link('post');
?>
Ejemplo n.º 4
0
.tc:hover,.active{border: 2px solid #2694E8;}
</style>
<script type="text/javascript" src="farbtastic.js"></script>
<link rel="stylesheet" href="farbtastic.css" type="text/css" />
 <script type="text/javascript" charset="utf-8">
  $(document).ready(function() {
    $('#picker').farbtastic('#color');
  });
 </script>
<div id="divMain">
	<div class="divHeader"><?php 
echo $blogtitle;
?>
</div>
  	<div class="SubMenu"><?php 
x2013_SubMenu(0);
?>
</div>
	<div id="divMain2">
	<form id="form1" name="form1" method="post">
    <table width="100%" style='padding:0px;margin:0px;' cellspacing='0' cellpadding='0' class="tableBorder">
  <tr>
    <th width='20%'><p align="center">设置</p></th>
    <th width='70%'><p align="center">内容</p></th>

  </tr>
  <tr>
    <td><b><label for="SetWeiboSina"><p align="center">新浪微博</p></label></b></td>
    <td><p align="left"><input name="SetWeiboSina" type="text" id="SetWeiboSina" size="100%" value="<?php 
echo $zbp->Config('x2013')->SetWeiboSina;
?>