<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Yourphp企业网站管理系统</title><link>http://www.yourphp.cn</link><description>php企业网站管理系统-企业建站系统-企业网站模板-网站后台管理系统</description><generator>Yourphpv2.1 Released</generator><lastBuildDate>Sun, 20 May 2012 19:00:56 GMT</lastBuildDate><webMaster>admin@yourphp.cn</webMaster><language>zh-cn</language><item><title>在任何其他页面调用提交留言或反馈表单</title><link>http://www.yourphp.cn/help/template/show_74.html</link><description><![CDATA[<p>&nbsp;</p><p>yourphp任何其他页面调用提交留言或反馈表单</p><pre class="prettyprint brush: html;">{php $fields = F('<strong><span style="color:#ff6666;">模型id</span></strong>_Field');}
&lt;volist name=&quot;fields&quot; id=&quot;r&quot;&gt;
      &lt;if condition=&quot;!empty($r['status']) &amp;&amp; $r['ispost']&quot;&gt;
          &lt;tr&gt;
        &lt;td width=&quot;100&quot; align=&quot;right&quot;&gt;{if  $r['required']}&lt;font color=&quot;red&quot;&gt;*&lt;/font&gt;{/if} {if  APP_LANG}{:L($r[field])}{else}{$r.name}{/if}&lt;/td&gt;
                                &lt;td id=&quot;box_{$r['field']}&quot;&gt;
                                {$r|getform=$form,###}
                                &lt;/td&gt;
                        &lt;/tr&gt;
                &lt;/if&gt;
    &lt;/volist&gt;</pre><p><br />把上面的 模型id&nbsp; 修改为你需要调用的表单的模型id即可</p><p>&nbsp;</p>]]></description><pubDate>Sat, 12 May 2012 07:46:13 GMT</pubDate><author>yourphp</author></item><item><title>yourphp实现浏览过的商品功能方法</title><link>http://www.yourphp.cn/help/template/show_73.html</link><description><![CDATA[<p>如果你的网站没有开启生成html页。可以在你需要显示浏览过的商品模板上直接写php代码实现此功能：</p><p>以下代码放模板顶顶部</p><pre class="prettyprint brush: html;" style="background-color: rgb(255, 255, 255); ">&lt;?php
$YP_ids = unserialize($_COOKIE['YP_ids']) ? unserialize($_COOKIE['YP_ids']) : array();
if(!in_array($id,$YP_ids))array_push($YP_ids,$id);
cookie('ids',serialize($YP_ids),0);
$ids = implode(',',$YP_ids);
$view_data = M('Product')-&gt;field('id,url,title,thumb')-&gt;select($ids);
?&gt; 
</pre><p>以下代码放在要显示的已经浏览商品的地方。</p><p></p><pre class="prettyprint brush: html;">&lt;volist name=&quot;view_data&quot; id=&quot;r&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;{$r[url]}&quot; target=&quot;_blank&quot;&gt;{$r[title]}&lt;/a&gt;      {$r[createtime]|toDate=###,'Y-m-d'}&lt;/li&gt;
&lt;/volist&gt; </pre><br /><p></p>]]></description><pubDate>Fri, 04 May 2012 03:25:46 GMT</pubDate><author>yourphp</author></item><item><title>Yourphp模板配置参数$T数组的设置方法</title><link>http://www.yourphp.cn/help/template/show_72.html</link><description><![CDATA[<p>Yourphp模板配置参数$T数组的设置方法</p><p>Yourphp提供一个$T的数组，他的用途可以方便在模板中设置各地方的参数或显示文字。而不用去修改模板。</p><p>变量可以自己添加人修改。在模板管理-&gt; 模板参数配置 中修改值或是删除添加新的参数。</p><p>实用举例：</p><p>在模板中某个位置要显示一个栏目名称和链接：</p><p>一般代码如下：</p><p><pre class="prettyprint brush: html;">&lt;a href=&quot;{$Categorys[1]['url']}&quot;&gt;&lt;img src=&quot;{$Categorys[1]['catname']}&quot;&gt;&lt;/a&gt;</pre></p><p>如果要修改这个模板上的这个连接需要去修改模板，不会html看就头痛</p><p><br /></p><p>使用模板参数后：</p><p><pre class="prettyprint brush: html;">&lt;a href=&quot;{$Categorys[$T[m_news_catid]]['url']}&quot;&gt;&lt;img src=&quot;{$Categorys[$T[m_news_catid]]['catname']}&quot;&gt;&lt;/a&gt;</pre>模板中使用这个方法调用后。要改这个栏目显示其他栏目的时候只需要在后台的。</p><p>模板管理-&gt; 模板参数配置 中修改m_news_catid的值就可以了<br /></p>]]></description><pubDate>Fri, 04 May 2012 01:07:19 GMT</pubDate><author>yourphp</author></item><item><title>Yourphp推荐位posid的使用</title><link>http://www.yourphp.cn/help/template/show_71.html</link><description><![CDATA[<p>推荐位功能是一般企业站都用不到的。它的作用是像门户站首页的一些精彩推荐数据的调用时才用的。</p><p>标签使用方法：</p><pre class="prettyprint brush: html;">&lt;YP:list order=&quot;id desc&quot; catid=&quot;4&quot; limit=&quot;6&quot; posid=&quot;1&quot;&gt;
   &lt;li&gt;&lt;a href=&quot;{$r.url}&quot; title=&quot;{$r.title}&quot;&gt;{$r.title|str_cut=###,15}&lt;/a&gt;&lt;/li&gt;
&lt;/YP:list&gt;

</pre><p>其中的posid=&quot;1&quot;就是调用推荐位id是1的文章<br />&nbsp;</p><p>&nbsp;</p>]]></description><pubDate>Tue, 01 May 2012 16:45:47 GMT</pubDate><author>yourphp</author></item><item><title>Yourphp附件上传类型如何设置</title><link>http://www.yourphp.cn/help/usehelp/show_70.html</link><description><![CDATA[<p>1.系统设置-》站点参数-》附件配置:</p><p>设置整站全局允许上传文件类型。<br /><a href="http://www.yourphp.cn/ebook/system/setup/show_21.html">http://www.yourphp.cn/ebook/system/setup/show_21.html</a><br /></p><p>2.然后再设置 内容管理-》模型管理-》模型字段&nbsp;</p><p>设置你要上传文件的字段的允许上传的文件类型<br /><a href="http://www.yourphp.cn/ebook/system/content/show_31.html">http://www.yourphp.cn/ebook/system/content/show_31.html</a><br /></p>]]></description><pubDate>Sat, 28 Apr 2012 08:22:14 GMT</pubDate><author>yourphp</author></item><item><title>yourphp无缝滚动js效果</title><link>http://www.yourphp.cn/help/template/show_69.html</link><description><![CDATA[<p>需要加载yourphp.js文件</p><p><pre class="prettyprint brush: html;">&lt;script src=&quot;__PUBLIC__/Js/yourphp.js&quot;&gt;&lt;/script&gt;</pre><br /><br /></p><p>模板代码：</p><p><pre class="prettyprint brush: html;">&lt;div id=&quot;colee&quot;&gt;
				&lt;div class=&quot;colee_box&quot;&gt;
				&lt;div  id=&quot;colee_1&quot; class=&quot;div2&quot;&gt;
				&lt;ul class=&quot;pic&quot;&gt;
					&lt;YP:list order=&quot;id desc&quot; catid=&quot;T[m_product_catid]&quot; limit=&quot;10&quot;&gt;
							&lt;li&gt;&lt;a href=&quot;{$r[url]}&quot;  title=&quot;{$r[title]}&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;{$r[thumb]|thumb=###,120,85}&quot; alt=&quot;{$r[title]}&quot; width=120 height=85&gt;&lt;/a&gt;&lt;b&gt;&lt;a href=&quot;{$r[url]}&quot; target=&quot;_blank&quot;&gt;{$r[title]|str_cut=###,24}&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
					&lt;/YP:list&gt;					 
				&lt;/ul&gt;
				&lt;/div&gt;
				&lt;div  id=&quot;colee_2&quot; class=&quot;div2&quot;&gt;&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt; </pre>css代码：</p><p><pre class="prettyprint brush: css;">#colee {width:960px;margin:0 auto; background:#000;overflow:hidden;}
#colee #div1 {width:960px;white-space:nowrap;} 
#colee .colee_box {width:1940px;}
#colee .div2{float:left;width:960px;;height:117px;font-size:12px;text-align:center;overflow:hidden;}
#colee .div2 .pic li img {width:122px;height:85px;border:1px solid #ccc;} 
#colee .div2 .pic  {margin:0;padding:0;width:980px;overflow:hidden;}
#colee .div2 .pic li {float:left;margin:10px 17px 0 17px;width:126px;overflow:hidden;line-height:22px;color:#FFF;text-align:center;}
#colee .div2 .pic li a {color:#FFF;}
</pre><br />javascript代码：</p><p><pre class="prettyprint brush: html;">&lt;script&gt;donghua('colee')&lt;/script&gt;</pre><br /><br /></p><p><br /></p><p><br /><br /></p><p><br /></p>]]></description><pubDate>Fri, 27 Apr 2012 00:18:48 GMT</pubDate><author>yourphp</author></item><item><title>Yourphp自定义导航制作方法</title><link>http://www.yourphp.cn/help/template/show_68.html</link><description><![CDATA[<p>可以subcat标签实现代码如下：</p><p><br /></p><pre class="prettyprint brush: html;">&lt;div id=&quot;nav&quot;&gt;&lt;ul&gt;&lt;YP:subcat &nbsp;catid=&quot;0&quot;&gt;
<span style="white-space:pre">		</span>&lt;li{if $r[id]==$bcid} class=&quot;on&quot;{/if}&gt;&lt;a href=&quot;{$r.url}&quot;&gt;{$r.catname}&lt;/a&gt;&lt;/li&gt;
<span style="white-space:pre">		</span>{if $r['child']==1} &lt;ul&gt;&lt;YP:subcat &nbsp;catid=&quot;$r[id]&quot; id=&quot;res&quot;&gt;&lt;li&gt;&lt;a href=&quot;{$res.url}&quot;&gt;{$res.catname}&lt;/a&gt;&lt;/li&gt;&lt;/YP:subcat&gt;&lt;/ul&gt;{/if}
<span style="white-space:pre">	</span>&lt;/YP:subcat&gt;&lt;/ul&gt;&lt;/div&gt;
</pre><p><br /></p><p>其中</p><p></p><pre class="prettyprint brush: html;">{if $r[id]==$bcid} class=&quot;on&quot;{/if}</pre><br />是判断当前访问的大栏目为高亮显示的。<p></p><p><br /></p><p><br /></p>]]></description><pubDate>Sat, 21 Apr 2012 12:08:59 GMT</pubDate><author>yourphp</author></item><item><title>Yourphp开启URL伪静态步骤</title><link>http://www.yourphp.cn/help/usehelp/show_67.html</link><description><![CDATA[<p>登陆后台后</p><p>系统设置-&gt;站点配置-&gt;系统参数:<br />URL访问模式为REWRITE<br />选择你要使用的URL规则和URL伪静态后缀<br />确定</p><p><br />(如果之前栏目设置为生成html页，需要修改栏目设置不生成html页)<br />内容管理-&gt;栏目管理-&gt;恢复栏目数据<br />网站更新-&gt;更新内容页URL 点“开始更新URL”<br />最后更新缓存</p><p>然后修改网站根目录下的.htaccess文件，去除每行前的#号。</p><p>iis服务器需要设置httpd.ini</p>]]></description><pubDate>Tue, 27 Mar 2012 12:19:36 GMT</pubDate><author>yourphp</author></item><item><title>yourphp网站搬家步骤</title><link>http://www.yourphp.cn/help/template/show_66.html</link><description><![CDATA[<p>yourphp网站搬家步骤：<br />先进入后台，系统设置-》数据库管理-》备份整站数据库。<br />下载网站全部文件。<br />上传除install.lock，config.php外的全部文件到新的空间上。同时上传原来安装目录Install ( Install是安装完删除的如果没有删除可以不用再上传)<br />然后进行全新安装。安装完成后进入后台数据库管理-》恢复之前备份的数据库<br />然后更新缓存。 <br /></p>]]></description><pubDate>Sun, 18 Mar 2012 19:52:44 GMT</pubDate><author>yourphp</author></item><item><title>全国政府机关2012年底实现软件正版化吗？</title><link>http://www.yourphp.cn/help/ask/show_65.html</link><description><![CDATA[<p>是的。关于政府机关软件正版化的新闻已经很多。可以百度搜索看到很多相关新闻。到2012年年底县级以上机关要全部实现软件正版化。</p><p>下面是几则相关的新闻。</p><p>&nbsp;</p><p>新华网北京１２月２０日电（记者雷敏　程群）商务部市场秩序司司长常晓村２０日在中国政府网接受访谈时说，目前中央国家机关已基本实现软件正版化，计划明年年底全国政府机关实现软件正版化。</p><p>常晓村说，地级以上城市预计明年６月份实现软件正版化。他建议，政府软件正版化在纳入预算的同时，还要纳入审计监督内容，纳入国有资产考核办法。政府软件实现正版化后，还要扩大到企业和个人，在全社会实行软件正版化。</p><p>常晓村同时介绍，打击侵犯知识产权和制售假冒伪劣商品专项行动网络成果展，已引起全社会的广泛关注。目前，海内外访问人数已经突破１．２亿人次，下一步计划把展览变成政府工作网站，明年改版后正式推出。</p><p><a href="http://news.xinhuanet.com/2011-12/20/c_111259726.htm">http://news.xinhuanet.com/2011-12/20/c_111259726.htm</a></p><p>&nbsp;</p><p>商务部市场秩序司司长常晓村20日在中国政府网接受访谈时说，目前中央国家机关已基本实现软件正版化，计划明年年底全国政府机关实现软件正版化。<br /><br />　　常晓村说，地级以上城市预计明年6月份实现软件正版化。他建议，政府软件正版化在纳入预算的同时，还要纳入审计监督内容，纳入国有资产考核办法。政府软件实现正版化后，还要扩大到企业和个人，在全社会实行软件正版化。(记者雷敏、程群)<br /><br /></p><p><a href="http://news.enorth.com.cn/system/2011/12/21/008354917.shtml">http://news.enorth.com.cn/system/2011/12/21/008354917.shtml</a></p><p>&nbsp;</p><p>或百度搜索相关新闻<a href="http://news.baidu.com/ns?cl=2&amp;rn=20&amp;tn=news&amp;word">http://news.baidu.com/ns?cl=2&amp;rn=20&amp;tn=news&amp;word</a>=政府软件正版化</p><p>&nbsp;</p>]]></description><pubDate>Mon, 12 Mar 2012 11:27:43 GMT</pubDate><author>yourphp</author></item></channel></rss>

