<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TEA &#38; SEO Блог &#187; DLE</title>
	<atom:link href="http://teaseo.ru/category/dle/feed" rel="self" type="application/rss+xml" />
	<link>http://teaseo.ru</link>
	<description>Описание блога - вот так!</description>
	<lastBuildDate>Fri, 18 May 2012 13:30:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Замена файлов с нул версии DLE  на официальные что бы ввести ключ лицензии (при покупке)</title>
		<link>http://teaseo.ru/dle/zamena-fajlov-s-nul-versii-dle-na-oficialnye-chto-by-vvesti-klyuch-licenzii-pri-pokupke/695</link>
		<comments>http://teaseo.ru/dle/zamena-fajlov-s-nul-versii-dle-na-oficialnye-chto-by-vvesti-klyuch-licenzii-pri-pokupke/695#comments</comments>
		<pubDate>Thu, 22 Mar 2012 14:04:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=695</guid>
		<description><![CDATA[\upload\engine\inc\main.php \upload\engine\engine.php \engine\inc\include\init.php \engine\ajax\upload.php]]></description>
			<content:encoded><![CDATA[<p>\upload\engine\inc\main.php<br />
\upload\engine\engine.php<br />
\engine\inc\include\init.php<br />
\engine\ajax\upload.php</p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/zamena-fajlov-s-nul-versii-dle-na-oficialnye-chto-by-vvesti-klyuch-licenzii-pri-pokupke/695/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AllowOverride FileInfo Limit AuthConfig Indexes</title>
		<link>http://teaseo.ru/dle/allowoverride-fileinfo-limit-authconfig-indexes/656</link>
		<comments>http://teaseo.ru/dle/allowoverride-fileinfo-limit-authconfig-indexes/656#comments</comments>
		<pubDate>Wed, 12 Oct 2011 07:48:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=656</guid>
		<description><![CDATA[AllowOverride FileInfo Limit AuthConfig Indexes &#8212; минимальные установки апачу, (список того что апач может делать через htaccess дериктивы) мне это помогло защитится от взлома сайта &#8230; &#8230; на одном дле сайте, заливался штаксес, а дальше для картинок давались права на обработку пхп, ну и заливалась картинка. с пхп кодом, вот так &#8230;.]]></description>
			<content:encoded><![CDATA[<p>AllowOverride FileInfo Limit AuthConfig Indexes &#8212; <span id="more-656"></span> минимальные установки апачу,<br />
(список того что апач может делать через htaccess дериктивы)<br />
мне это помогло защитится от взлома сайта &#8230;<br />
&#8230;<br />
на одном дле сайте, заливался штаксес, а дальше для картинок<br />
давались права на обработку пхп, ну и заливалась картинка. с пхп кодом, вот так &#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/allowoverride-fileinfo-limit-authconfig-indexes/656/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DLE wordwrap  для  модуля  topnews.php</title>
		<link>http://teaseo.ru/dle/dle-wordwrap-dlya-modulya-topnews-php/519</link>
		<comments>http://teaseo.ru/dle/dle-wordwrap-dlya-modulya-topnews-php/519#comments</comments>
		<pubDate>Sat, 19 Feb 2011 11:54:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=519</guid>
		<description><![CDATA[изза длинного текста ссылок &#8212; текст вылазит за разделы блока, СSS  не помогал, решил профиксить сам дле &#8230;&#8230;. вот решение , которое у меня сработало &#8230;&#8230;.В DLE Открываем engine/modules/topnews.php и вместо $link = "" . stripslashes( $title ) . ""; Пишем $link = "" . wordwrap(stripslashes( $title ), 25, "\n",1) . ""; И! чистим кеш [...]]]></description>
			<content:encoded><![CDATA[<p>изза длинного текста ссылок &#8212; текст вылазит за разделы блока,</p>
<p>СSS  не помогал,</p>
<p>решил профиксить сам дле &#8230;&#8230;.</p>
<p>вот решение , которое у меня сработало &#8230;&#8230;.<span id="more-519"></span>В DLE Открываем engine/modules/topnews.php<br />
и вместо <code>$link = "<a {$go_page}href=\"" . $full_link . "\">" . stripslashes( $title ) . "</a>";</code><br />
Пишем<br />
<code>$link = "<a {$go_page}href=\"" . $full_link . "\">" . wordwrap(stripslashes( $title ), 25, "<br />\n",1) . "</a>";</code><br />
<strong>И! чистим кеш в DLE</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/dle-wordwrap-dlya-modulya-topnews-php/519/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Index.php go? redirect</title>
		<link>http://teaseo.ru/dle/index-php-go-redirect/465</link>
		<comments>http://teaseo.ru/dle/index-php-go-redirect/465#comments</comments>
		<pubDate>Sun, 24 Oct 2010 19:22:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=465</guid>
		<description><![CDATA[Open Index.php add at top if (substr($_SERVER['REQUEST_URI'],0,4) == &#8216;/go?&#8217;) { header (&#8216;Location: &#8216;.substr($_SERVER['REQUEST_URI'],4) ); exit;}; Save]]></description>
			<content:encoded><![CDATA[<p>Open Index.php<span id="more-465"></span><br />
add at top<br />
if (substr($_SERVER['REQUEST_URI'],0,4) == &#8216;/go?&#8217;) {<br />
    header (&#8216;Location: &#8216;.substr($_SERVER['REQUEST_URI'],4) );<br />
    exit;};<br />
Save</p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/index-php-go-redirect/465/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dle &#8212;  Авто вывод файлообменников (инфоблок)</title>
		<link>http://teaseo.ru/dle/dle-avto-vyvod-obmennikov-infoblok/432</link>
		<comments>http://teaseo.ru/dle/dle-avto-vyvod-obmennikov-infoblok/432#comments</comments>
		<pubDate>Mon, 16 Aug 2010 11:58:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=432</guid>
		<description><![CDATA[Открываем engine\modules\show.full.php находим 1 $tpl-&#62;set&#40; '{full-story}', stripslashes&#40; &#34;&#60;div id=\&#34;news-id-&#34; . $row&#91;'id'&#93; . &#34;\&#34; style=\&#34;display:inline;\&#34;&#62;&#34; . $row&#91;'full_story'&#93; . &#34;&#60;/div&#62;&#34; &#41; &#41;; ниже пишем 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 [...]]]></description>
			<content:encoded><![CDATA[<p>Открываем engine\modules\show.full.php<br />
<img src="http://img0.liveinternet.ru/images/attach/c/1//57/245/57245960_rapidshare1.jpg" alt="" /><span id="more-432"></span><br />
находим<!--more--></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$tpl</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'{full-story}'</span><span style="color: #339933;">,</span> <span style="color: #990000;">stripslashes</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;&lt;div id=<span style="color: #000099; font-weight: bold;">\&quot;</span>news-id-&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> style=<span style="color: #000099; font-weight: bold;">\&quot;</span>display:inline;<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'full_story'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/div&gt;&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>ниже пишем</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&nbsp;
    <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#http:\/\/([\S][^\/]*)/#is&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'full_story'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$allhosttt</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$hosttt</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;2shared&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/2shared.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;badongo&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/badongo.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;depositfiles&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/depositfiles.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;divshare&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/divshare.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;f-forge&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/f-forge.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;filefactory&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">6</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/filefactory.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;filefront&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">7</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/filefront.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;fileho&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">8</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/fileho.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;gigasize&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/gigasize.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;megaupload&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">10</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/megaupload.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;rapidshare&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">11</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/rapidshare.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;sendspace&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">12</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/sendspace.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;storeandserve&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">13</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/storeandserve.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;uploading&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">14</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/uploading.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">stristr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hosttt</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;zshare&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$allhosttt</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">15</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;div align=<span style="color: #000099; font-weight: bold;">\&quot;</span>right<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&lt;img src=<span style="color: #000099; font-weight: bold;">\&quot;</span>/uploads/zshare.gif<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #666666; font-style: italic;">//$allhosttt[16] = &quot;&lt;div align=\&quot;right\&quot;&gt;&lt;img src=\&quot;/uploads/Other.gif\&quot; /&gt;&lt;/div&gt;&quot;;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$allhosttt_txt</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$allhosttt</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$allhosttt_txt</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$value</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$tpl</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'{whereis}'</span><span style="color: #339933;">,</span><span style="color: #000088;">$allhosttt_txt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>и в щаблоне полной новости пишем<br />
{whereis}<br />
в месте где будут отображаться те файл обменники ,  из которых предлагается скачать в статье</p>
<p>А для короткой новости в файле show.short.php</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">находим
<span style="color: #000088;">$sql_result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$sql_select</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
и выше пишем 
<span style="color: #000088;">$sql_select</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'short_story,'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'short_story, full_story as full_story2,'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sql_select</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
а для верхнего  меняем
    <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#http:\/\/([\S][^\/]*)/#is&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'full_story'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
на 
    <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#http:\/\/([\S][^\/]*)/#is&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'full_story2'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>в shortstory.tpl пишем {whereis}</p>
<p>Скачать тут<br />
<a href="http://teaseo.ru/_soft/dle-uploads-failoobmenniti_dle-85.rar">http://teaseo.ru/_soft/dle-uploads-failoobmenniti_dle-85.rar</a><br />
(вместе с кнопками)<br />
(Измнеения выделены коментариями)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*DLE-uploads-failoobmenniti*/</span></pre></td></tr></table></div>

<p>ПС. объяснил галимо, но те кто что то понимает то исправит )</p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/dle-avto-vyvod-obmennikov-infoblok/432/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Скрипт редиректа на DLE</title>
		<link>http://teaseo.ru/dle/skript-redirekta-na-dle/414</link>
		<comments>http://teaseo.ru/dle/skript-redirekta-na-dle/414#comments</comments>
		<pubDate>Fri, 28 May 2010 14:31:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=414</guid>
		<description><![CDATA[http://www.softdle.com/modules/232-skript-redirekta-na-dle.html http://seomax.info/13-zashhita-datalife-engine-ot-vneshnikh-ssylok.html http://seodude.ru/blog/2010/02/02/dude-smart-leech-0-1-beta/]]></description>
			<content:encoded><![CDATA[<p><span id="more-414"></span><a href="http://www.softdle.com/modules/232-skript-redirekta-na-dle.html">http://www.softdle.com/modules/232-skript-redirekta-na-dle.html</a><br />
<a href="http://seomax.info/13-zashhita-datalife-engine-ot-vneshnikh-ssylok.html">http://seomax.info/13-zashhita-datalife-engine-ot-vneshnikh-ssylok.html</a><br />
<a href="http://seodude.ru/blog/2010/02/02/dude-smart-leech-0-1-beta/">http://seodude.ru/blog/2010/02/02/dude-smart-leech-0-1-beta/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/skript-redirekta-na-dle/414/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DLE  аватарка  в login.tpl</title>
		<link>http://teaseo.ru/dle/dle-avatarka-v-login-tpl/374</link>
		<comments>http://teaseo.ru/dle/dle-avatarka-v-login-tpl/374#comments</comments>
		<pubDate>Thu, 15 Apr 2010 16:22:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=374</guid>
		<description><![CDATA[сменить &#60;?php if ($is_logged == TRUE){ на &#60;?php if ($is_logged == TRUE){ if (trim($member_id['foto']) == &#171;&#187;) { $foto = $config['http_home_url'].&#187;templates/taxi/images/noavatar.png&#187;; } else { $foto = $config['http_home_url'].&#187;uploads/fotos/&#187;.$member_id['foto']; } и в месте аватарки вывести &#60;img src=&#187;{$foto}&#187; border=&#187;0&#8243; alt=&#187;"  /&#62; и проверить путь templates/taxi/images/noavatar.png !! или работает, если что то подправить!]]></description>
			<content:encoded><![CDATA[<p>сменить</p>
<p>&lt;?php<br />
if ($is_logged == TRUE){<br />
на <span id="more-374"></span></p>
<p>&lt;?php<br />
if ($is_logged == TRUE){</p>
<p>if (trim($member_id['foto']) == &#171;&#187;) {<br />
$foto = $config['http_home_url'].&#187;templates/taxi/images/noavatar.png&#187;;<br />
} else {<br />
$foto = $config['http_home_url'].&#187;uploads/fotos/&#187;.$member_id['foto'];<br />
}</p>
<p>и в месте аватарки вывести</p>
<p>&lt;img src=&#187;{$foto}&#187; border=&#187;0&#8243; alt=&#187;"  /&gt;</p>
<p>и проверить путь templates/taxi/images/noavatar.png</p>
<p>!!</p>
<p>или работает, если что то подправить!</p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/dle-avatarka-v-login-tpl/374/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Как убрать все новости в DLE  с главной кроме определённых категорий ?</title>
		<link>http://teaseo.ru/dle/kak-ubrat-vse-novosti-v-dle-s-glavnoj-krome-opredelyonnyx-kategorij/271</link>
		<comments>http://teaseo.ru/dle/kak-ubrat-vse-novosti-v-dle-s-glavnoj-krome-opredelyonnyx-kategorij/271#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:44:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DLE]]></category>

		<guid isPermaLink="false">http://teaseo.ru/?p=271</guid>
		<description><![CDATA[В PHPMYADMIN выполнить комманду Update dle_post SET allow_main=0 WHERE category NOT in (1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009) , где 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009 &#8212; єто айди тех категорий что останутся на главной Айди которых можно узнать в админке ДЛЕ на странице /admin.php?mod=categories]]></description>
			<content:encoded><![CDATA[<p>В PHPMYADMIN  выполнить комманду<br />
<span id="more-271"></span><br />
<strong>Update<br />
dle_post<br />
SET<br />
allow_main=0<br />
WHERE<br />
category NOT in (1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009)</strong></p>
<p>, где 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009 &#8212; єто айди тех категорий что останутся на главной<br />
Айди которых можно узнать в админке ДЛЕ на странице <strong>/admin.php?mod=categories</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://teaseo.ru/dle/kak-ubrat-vse-novosti-v-dle-s-glavnoj-krome-opredelyonnyx-kategorij/271/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

