<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Не могу добавить текст</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 10:59:17 -0000</pubDate>

		<item>
			<title>Yusupov</title>
			<description><![CDATA[<p>У этих разделов разные шаблоны, соответвенно в каждом свой вывод. </p>
]]></description>
			<pubDate>Wo, 04 Dec 2013 12:46:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7613&d=0#post38722]]></link>
		</item>
		<item>
			<title>geldash</title>
			<description><![CDATA[<p>Булат здравствуйте и спасибо, пойду попробую...</p>

<p> </p>

<p> </p>

<p> </p>

<p><strong>Добавлено 5 часа спустя:</strong></p>

<p>А как быть с этими разделами:</p>

<p>http://фотовидеозаявка.рф/projects/?c=3</p>

<p>http://фотовидеозаявка.рф/freelancers/?c=3</p>

<p> </p>

<p>И там и там {PHP.c} == 3</p>

<p>Или в разных файлах шаблона он будет возвращать нужный адрес</p>
]]></description>
			<pubDate>Wo, 04 Dec 2013 06:37:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7613&d=0#post38719]]></link>
		</item>
		<item>
			<title>Yusupov</title>
			<description><![CDATA[<p>В шаблоны нельзя вставлять php-код. </p>

<p>Надо так условия составлять:</p>

<p>&lt;!-- IF !{PHP.c} --&gt;<br />
текст<br /><span style="line-height:1.6em;">&lt;!-- ENDIF --&gt;</span></p>

<p>&lt;!-- IF {PHP.c} == 1 --&gt;<br />
текст<br /><span style="line-height:1.6em;">&lt;!-- ENDIF --&gt;</span></p>

<p>&lt;!-- IF {PHP.c} == 2 --&gt;<br />
текст<br /><span style="line-height:1.6em;">&lt;!-- ENDIF --&gt;</span></p>

<p>и тд.</p>
]]></description>
			<pubDate>Wo, 04 Dec 2013 06:20:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7613&d=0#post38718]]></link>
		</item>
		<item>
			<title>geldash</title>
			<description><![CDATA[<p><span style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;">Подскажите пожалуйста как добавить текст к разным страницам сайта.</span></p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;">Например на этой странице <a href="http://xn--80aaebigofx6aae0c0a9o.xn--p1ai/freelancers/?c=3" rel="nofollow">http://фотовидеозаявка.рф/freelancers/?c=3</a> текст про фотографов.</p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;">На этой <a href="http://xn--80aaebigofx6aae0c0a9o.xn--p1ai/freelancers/?c=1" rel="nofollow">http://фотовидеозаявка.рф/freelancers/?c=1</a> тект про видеооператоров и.т.д.</p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;">Обе эти страницы формируются одним файлом шаблона.</p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;"> </p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;">Пробовал вот такой код вставить в шаблон, но он не работает:</p>

<p style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;line-height:22px;"> </p>

<pre class="brush:php;">
&lt;?php
if ($_SERVER['REQUEST_URI'] == "/") 
include_once "./glavnay.txt";
elseif (stristr($_SERVER['REQUEST_URI'], "/freelancers/?c=1")) 
include_once "./text1.txt";
elseif (stristr($_SERVER['REQUEST_URI'], "/freelancers/?c=2")) 
include_once "./text2.txt";
elseif (stristr($_SERVER['REQUEST_URI'], "/freelancers/?c=3")) 
include_once "./text3.txt";
?&gt;</pre>

<p>Вот это не возвращает адрес страницы:</p>

<pre class="brush:php;">
&lt;?php
echo $_SERVER['REQUEST_URI'];
?&gt;</pre>

<p> </p>
]]></description>
			<pubDate>Wo, 04 Dec 2013 04:15:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7613&d=0#post38717]]></link>
		</item>
	</channel>
</rss>