<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Вопрос от новичка... (срочный)]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=1308&amp;type=atom" />
	<updated>2009-07-10T20:52:22Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=1308</id>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8681#p8681" />
			<content type="html"><![CDATA[<p>Про подменю я вопроса не понял. Очевидно, что это какие-то таблицы, но я о них ничего не могу знать.</p><p>Странный error.log.</p><p>Админка на этом сервере раньше работала? Если да, то надо проверять куда вносились изменения, если нет, то надо смотреть различия в настройках серверов.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-10T20:52:22Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8681#p8681</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8680#p8680" />
			<content type="html"><![CDATA[<p>Hanut СПАСИБО ТЕБЕ! САМ ДОГАДАЛСЯ КАК СДЕЛАТЬ А ТЫ НАВЕЛ НА МЫСЛЬ <img src="https://forum.php-myadmin.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /> <br />Остался только 1 неразрешимый вопрос - как сделать так чтобы заработала АДМИНКА...</p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-10T13:50:46Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8680#p8680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8679#p8679" />
			<content type="html"><![CDATA[<p>Вроде как последняя выписка из файла - error.log<br />##<br />&quot;my&quot; variable $query masks earlier declaration in same scope at ../cgi-bin/lib/catalog.pm line 82.<br />&quot;my&quot; variable $sth masks earlier declaration in same scope at ../cgi-bin/lib/catalog.pm line 83.<br />&quot;my&quot; variable $query masks earlier declaration in same scope at ../cgi-bin/lib/catalog.pm line 160.<br />&quot;my&quot; variable $sth masks earlier declaration in same scope at ../cgi-bin/lib/catalog.pm line 161.<br />Use of uninitialized value in substitution (s///) at ../cgi-bin/lib/SysFunc.pm line 28.<br />Use of uninitialized value in substitution (s///) at ../cgi-bin/lib/SysFunc.pm line 29.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/SysFunc.pm line 30.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/SysFunc.pm line 44.<br />Use of uninitialized value in pattern match (m//) at ../cgi-bin/lib/data.pm line 7.<br />Use of uninitialized value in pattern match (m//) at index.cgi line 17.<br />Use of uninitialized value in pattern match (m//) at index.cgi line 23.<br />Use of uninitialized value in concatenation (.) or string at index.cgi line 23.<br />Argument &quot;&quot; isn&#039;t numeric in numeric eq (==) at ../cgi-bin/lib/catalog.pm line 48.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/catalog.pm line 211.<br />Use of uninitialized value in numeric gt (&gt;) at ../cgi-bin/lib/catalog.pm line 216.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/catalog.pm line 271.<br />Use of uninitialized value in substitution (s///) at ../cgi-bin/lib/SysFunc.pm line 60.<br />Use of uninitialized value in substitution (s///) at ../cgi-bin/lib/SysFunc.pm line 61.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/SysFunc.pm line 63.<br />Use of uninitialized value in concatenation (.) or string at ../cgi-bin/lib/SysFunc.pm line 69.<br />[Sat Jul&nbsp; 4 22:45:01 2009] [error] [client 87.228.0.201] File does not exist: /www/docs/wwwdecotec/www/favicon.ico<br />##</p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-10T12:53:37Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8679#p8679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8678#p8678" />
			<content type="html"><![CDATA[<p>Еще у меня остается 1 вопрос.<br />ЗА ЧТО ОТВЕЧАЮТ ДРУГИЕ ПОДМЕНЮ В MYADMIN???? не понимаююю......<br />Скрины ниже...<br /><span class="postimg"><img src="http://pic.ipicture.ru/uploads/090710/XHDRZWPpK6.jpg" alt="http://pic.ipicture.ru/uploads/090710/XHDRZWPpK6.jpg" /></span><br /><span class="postimg"><img src="http://pic.ipicture.ru/uploads/090710/cTO8BmWSSs.jpg" alt="http://pic.ipicture.ru/uploads/090710/cTO8BmWSSs.jpg" /></span><br /><span class="postimg"><img src="http://pic.ipicture.ru/uploads/090710/6OCHrIIW6X.jpg" alt="http://pic.ipicture.ru/uploads/090710/6OCHrIIW6X.jpg" /></span><br /><span class="postimg"><img src="http://pic.ipicture.ru/uploads/090710/7xI63bWlyG.jpg" alt="http://pic.ipicture.ru/uploads/090710/7xI63bWlyG.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-10T12:46:58Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8678#p8678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8677#p8677" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kocmocivan сказал:</cite><blockquote><p>1)почему то теперь после ввода логина и пасса чтобы войти в админку идет ошибка (как я понял 500)Internal Server Error<br />Как это можно исправить?</p></blockquote></div><p>Вероятно при редактировании скриптов была допущена ошибка. Описание ошибки можно посмотреть в журнале ошибок Apache.</p><div class="quotebox"><cite>kocmocivan сказал:</cite><blockquote><p>2)я нашел файл который отвечает за подкачку в &quot;каталог&quot; - catalog.pm</p></blockquote></div><p>my $query = &quot;select * from $ptb as c join $ftb as f join $fprtb as p where c.parent=&#039;$data{catalog}&#039; and c.id=p.item_id and f.id=p.firm_id&nbsp; order by f.firm_name, c.title&quot;;<br />Обратите внимание на эту строку и то, как в ней объединены три таблицы. Как я понимаю, побъединение происходит еще и с таблицей производителя, в которой тоже должна быть соответствующая запись.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-10T12:45:03Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8677#p8677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8676#p8676" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p><strong>kocmocivan</strong><br />Смотрите вывод данных в функции format1(). Вероятно, для вывода необходимо наличие более одной записи на parent.</p></blockquote></div><p>Hanut извените, я наверное уже &quot;достал&quot;...</p><p>Есть два вопроса:<br />1)почему то теперь после ввода логина и пасса чтобы войти в админку идет ошибка (как я понял 500)Internal Server Error<br />Как это можно исправить?<br />2)я нашел файл который отвечает за подкачку в &quot;каталог&quot; - catalog.pm<br />Боюсь копировать все дабы не показаться флудильшиком...</p><p>######### categories listing<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ptb where parent=&#039;$data{catalog}&#039; order by title&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; $outp&nbsp; .= &amp;format1(&quot;list&quot;,$prod_list,$R[0],$data{fid},$R[2]);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;<br />&nbsp; &nbsp; <br />######### firm listing</p><p>#&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ftb order by firm_name&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ftb as f join $fprtb as p join $ptb as c where f.id=p.firm_id and c.parent=&#039;$data{catalog}&#039; and c.id=p.item_id order by firm_name&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;#print $query,&quot;\n\n&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $fname = &quot;&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($fname !~ /$R[1]/)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$fname .= &quot;#&quot;.$R[1].&quot;#&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outf .= &amp;format1(&quot;listf&quot;,$firm_list,$data{catalog},$R[0],$R[1]);<br />&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;</p><p>###########################</p><p>if ($lvl&lt;2) #if not last level<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select distinct c.id,c.title from $ptb as c join $fprtb as f where c.parent=&#039;$data{catalog}&#039; and f.firm_id=&#039;$data{fid}&#039; and c.id=f.item_id order by c.title&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; $outp .= &amp;format1(&quot;list&quot;,$prod_list,$R[0],$data{fid},$R[1]);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select firm_name from $ftb where id=&#039;$data{fid}&#039;&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$R = $sth-&gt;fetchrow;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outf .= &amp;format1(&quot;listf2&quot;,$firm_list,$data{catalog},$data{fid},$R);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outfc .= &amp;format2(&quot;captf&quot;,$firm_capt,$data{fid});<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outpc .= &amp;format2(&quot;capt&quot;,$prod_capt,$data{catalog});<br />&nbsp; &nbsp; }</p><p><strong>Это 3 вырезки из кода - где встречается &quot;format1(&quot;</strong></p><p><strong>И одна которая как я понимаю и отвечает за 2 лвл...</strong><br />elsif ($lvl == 2) #last level<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ptb as c join $ftb as f join $fprtb as p where c.parent=&#039;$data{catalog}&#039; and c.id=p.item_id and f.id=p.firm_id&nbsp; order by f.firm_name, c.title&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $cnt = 0;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $i=0;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; $tmp = &amp;format3(0,$prod_list1,$R[0],$data{fid},$R[2],$R[5],$R[6],$R[7]);<br />&nbsp; &nbsp; &nbsp; &nbsp; $cnt++;<br />&nbsp; &nbsp; &nbsp; &nbsp; $i++;<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($cnt == 2) {$outp .= qq~&lt;tr class=&quot;tcol1&quot;&gt;$tmp1 $tmp&lt;/tr&gt;~; $tmp1 = &quot;&quot;; $cnt = 0;}<br />&nbsp; &nbsp; &nbsp; &nbsp; else {$tmp1 .= $tmp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<br />#&nbsp; &nbsp; &nbsp; &nbsp; $outp .= &amp;format3($cnt,$prod_list1,$R[0],$data{fid},$R[2],$R[5],$R[6],$R[7]);<br />#&nbsp; &nbsp; &nbsp; &nbsp; $cnt++;<br />#&nbsp; &nbsp; &nbsp; &nbsp; if ($cnt == 2)<br />#&nbsp; &nbsp; &nbsp; &nbsp; {<br />#&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outp = qq~ &lt;tr&gt; $outp &lt;/tr&gt;;<br />#&nbsp; &nbsp; &nbsp; &nbsp; }<br />#&nbsp; &nbsp; &nbsp; &nbsp; $cnt = ($cnt == 2) ? 0 : $cnt;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if ($i % 2) {$outp .= qq~&lt;tr class=&quot;tcol1&quot;&gt;$tmp&lt;td&gt;&amp;nbsp\;&lt;/td&gt;&lt;td&gt;&amp;nbsp\;&lt;/td&gt;&lt;/tr&gt;~; }<br />&nbsp; &nbsp; }</p><p><strong>Что примерно тут не так????</strong></p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-10T12:29:14Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8676#p8676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8674#p8674" />
			<content type="html"><![CDATA[<p><strong>kocmocivan</strong><br />Смотрите вывод данных в функции format1(). Вероятно, для вывода необходимо наличие более одной записи на parent.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-10T11:28:16Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8674#p8674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8671#p8671" />
			<content type="html"><![CDATA[<p>if ($data{fid} == 0)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; my $outp = $outf = $outpc = $outfc = &quot;&quot;;</p><p>&nbsp; &nbsp; if ($lvl&lt;3) #if not last level<br />&nbsp; &nbsp; {<br />######### categories listing<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ptb where parent=&#039;$data{catalog}&#039; order by title&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; $outp&nbsp; .= &amp;format1(&quot;list&quot;,$prod_list,$R[0],$data{fid},$R[2]);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;<br />&nbsp; &nbsp; <br />######### firm listing<br />#&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ftb as f join $fprtb as p join $ptb as c where f.id=p.firm_id and c.parent=&#039;$data{catalog}&#039; and c.id=p.item_id order by firm_name&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $query = &quot;select * from $ftb&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $sth = $dbh-&gt;prepare($query);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;execute;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;my $fname = &quot;&quot;;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;while (@R = $sth-&gt;fetchrow_array)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($fname !~ /$R[1]/)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$fname .= &quot;#&quot;.$R[1].&quot;#&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$outf .= &amp;format1(&quot;listf&quot;,$firm_list,$data{catalog},$R[0],$R[1]);<br />&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;$sth-&gt;finish;<br />&nbsp; &nbsp; }</p><p>ЭТО ?<br />Файл называется admcatalog.pm&nbsp; в папке admin</p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-10T06:17:11Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8671#p8671</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8669#p8669" />
			<content type="html"><![CDATA[<p><strong>kocmocivan</strong><br />Я не могу ответить на вопрос - &quot;как выглядит этот скрипт?&quot;.<br />Надо найти формирование SQL запроса и посмотреть каким образом это делается. Ищите SELECT.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-09T20:13:51Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8669#p8669</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8662#p8662" />
			<content type="html"><![CDATA[<p>А примерно как выглядит этот скрипт? сам сайт написал на perl (а я его не знаю...).<br />Можно немного подробнее что именно мне надо найти (для чайников) как говорится...<br />ПЛИИИЗЗЗЗЗ!!!!</p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-09T14:11:55Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8662#p8662</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8658#p8658" />
			<content type="html"><![CDATA[<p>В скрипте, который отвечает за вывод страницы, надо смотреть SQL запрос и условие вывода. Возможно, строк должно быть более двух, или еще что-то. Надо смотреть в скрипте. В БД проблем нет.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-09T12:12:05Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8658#p8658</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8654#p8654" />
			<content type="html"><![CDATA[<p><span class="postimg"><img src="http://www.imageup.ru/img40/1_thumb160327.jpg" alt="http://www.imageup.ru/img40/1_thumb160327.jpg" /></span><br /><span class="postimg"><img src="http://www.imageup.ru/img40/7_thumb160333.jpg" alt="http://www.imageup.ru/img40/7_thumb160333.jpg" /></span><br /><span class="postimg"><img src="http://www.imageup.ru/img40/3_thumb160329.jpg" alt="http://www.imageup.ru/img40/3_thumb160329.jpg" /></span><br /><span class="postimg"><img src="http://www.imageup.ru/img40/4_thumb160330.jpg" alt="http://www.imageup.ru/img40/4_thumb160330.jpg" /></span><br /><span class="postimg"><img src="http://www.imageup.ru/img40/5_thumb160331.jpg" alt="http://www.imageup.ru/img40/5_thumb160331.jpg" /></span><br /><span class="postimg"><img src="http://www.imageup.ru/img40/6_thumb160332.jpg" alt="http://www.imageup.ru/img40/6_thumb160332.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-09T05:33:56Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8654#p8654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8651#p8651" />
			<content type="html"><![CDATA[<p><strong>kocmocivan</strong><br />Было бы проще если вы покажете структуру таблицы и используемые для выборки данных запросы.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2009-07-08T14:07:54Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8651#p8651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Вопрос от новичка... (срочный)]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=8649#p8649" />
			<content type="html"><![CDATA[<p>Давно приходилось работать с MySQL, тут решил помоч компании с сайтом сделаном в основном на perle.<br />Все новинки товаров + новости и т.д. добавляются и редактируются через&nbsp; PhP MyAdmin.</p><p>Вот собственно и возник вопрос в процессе работа (сам пытался решить, потратил 4 часа без результативно).</p><p>сайт - <a href="http://www.decotec.ru">www.decotec.ru</a> (ссылку дал не в рекламных целях, а чтобы можно было понять &quot;в живую&quot; суть проблемы).<br />Там идет перечень продукции по принципу раскрывающегося меню.<br />В MyAdmine стоит 2 лвл (включая нулевой).<br />0 лвл - заглавное (основное) меню выбора (производитель)<br />1 лвл - второстипенное меню (&quot;модель&quot;)<br />2 лвл - изображение</p><p><strong>Так вот, по подобию предыдущих всей&nbsp; продукции идет следующим образом:</strong><br />сначало вставляется нулевое название (которому присваивается ID и Parent + нулейвой лвл)<br />потом создается новый раздел , вложенный в предыдущий (ID берется любое, а Parent берется из ID основного + 1 лвл)<br />получается &quot;папка с вложенной в неё еще одной&quot;<br />Дальше создается еще 1 раздел - который и является картинкой (ID берется любое,а Parent берется из ID второго раздела + 2 лвл и + ссылка на изображение, путь...)<br />Потом если необходимо отобрахзить сразу несколько изображений 3-ее действие повторяется, где меняется только ID и ссылка на изображение.<br />И все работает!</p><p>Когда же я начал повторять все те же шаги... у меня не отображается картинка после третьего шага. Отображение картинки идет только если убрать 2-ой лвл (3-ее действие) и вставить картинку на втором действии... И все бы замечательно, но мне нужна не 1 картинка, а несколько... а добиться их размещения во второй папке можно только если сделать 3-ий лвл + 3-ее действие. В противном случае он создает еще 1 раздел с другой картинкой.</p><p>ПОМОГИТЕ ПОЖАЛУЙСТА!</p>]]></content>
			<author>
				<name><![CDATA[kocmocivan]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=2112</uri>
			</author>
			<updated>2009-07-08T12:34:06Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=8649#p8649</id>
		</entry>
</feed>
