Ўs мґЈ¶|Ч' ЮHVчr PШwС%|‡ЬaqIЁдўk,с†рC9€ЛMъUFsЇ5‹Д_Ын0.Ќу®ѕ®Ѓ.Ўѓ(x x?W–BYЙҐgWJ«оь±пH#є€Ђїg™+kІ"лp¶bЕ€У4 >ТЅ jжэсЙЮ¤‰Ыw°7E) ]0 Е,|ЅnsЌ=¬»‡zШ8iОТџъ[ ЩиХжЮ¤Е7+Э.Ї$уІ"qtЦЦЇЪШfUџЌщ ¬пћбkP ҐчІ<}.uФSк€\…±‚Гн%x a4KЭ`тїt™¦Џ-!˜ ­ ш­ґ\єеb4хљ0,M}Љ9¦E@Ha2“у§w~v…e ®a ЎћG8ИоЕ‚ДЬe–PИFЖд&fО«Ґ¤СSWѓ·ИЄнjќѕSeл|•З#hUЄ^p ъ7;µЪ1qМ• ёёTЁ61Fт«–{кJзЗФрfЌСRЃЇ=­–ѕ˜4F7о|2{џ‚{-VF hJџQЮ&м§фипђ‚°ГЏ9АH1^gж±џ Uеjщ~Ho#gЕ«шr O™ !zрdЂлA¬3G&ѕ З\#ќL.˜Ѕ"*`л$ўl­v#ѕВgЯ8Ї-ў|єLЋЬ¬џЄ.„o/|ег‚ЗБhћцО»{– я«=в„ўAєiбp].‘…w ЛWг(QБяEџО љ.‹¬бЩwZµj* уv†‘ПЕЎыЃў J|а?ѕу¶KЖ«ИѕяP­BіЅ3Р¤µМi7;В~qЛрѓ,„_Д ЎЧ„ Г0ЊѓтТ$Hy7б~ћя›mѓйKA'L+И‰є ы§uыф†|нiЇы/µ№oe?h9gИЩљ,ЏЭ¦pЛЎhЊHґ ТѕЌ;л±mВ€iјIµебђМҐєxFйОAЂ“itЩЌФ˜yжщ+Щг¦ЌџхЅRПdџ+Ѓщњй|Яз3юGѕ…*чтX*Ыwб  з^5`«вє`cуРhЩ_лpфьfЦШџpМ[Rзj >J¶гw48МхЁІ>O«lЎ ўъўёGњ№ ©Сuъеў|Ђ„ћ58shґA9пн/­BЅ%ХOSЭз7’ы‡Ф§!Hq%ь§]+ЫЪ-KЛЛдШq2Н~фѕ±в»јйѓ¦ПП(МXС|¬ЖшqЦxH[; 3€м5–ЈР·ТcPЫ·МMу‹№—MЁ•уяЉX\5%L¬’янЄG0Р=pЅЦµ© ЫпиjXЄlY“A2Џгvn№IuQ®ч[_3ЎИЋ$iБLП:SЉ” у(Я’3qљ±_?@±&ё#”щzTFаEєК\§ 3лаV«ДTDЙ€“:DЕЎ· ¬3uN}f`{+YЯgЪ †ЛpҐ‡ЦЛљЖL}‚X: зU|ЕjЛЌL\ўц№Ц¶0€ґTQ`gц2И€к1юЕ'ДѕЖЖ<ў™i$!Sь%j7&•эНlБт'Ыj!(ЄьqЊ#оцщ4+o»0Ir%(а\ ‚фTЊcfПВЈ ст"ЪЈiчu@<«•ИіkЪJiDмД€IДEр nЁєєъ«f*њXБ6ґ`a,еГлЋ=CVчрУ|Јаu\7^"/ЇЪјжV”˜дћк™хцЎ{jВѕRчYnщЄ,ОqлfD^/QHЕе¶Gј!DлEе‹=¦эйfњЂПс3jїхЫ^3AИТл’?u@Ібјхл?‡a‚€bэ|k)j2цшрт'$®|йшМѓЕG KHщцфQhжФuwKBЯаY ЄхбGhgвЋc`ђ9у‚h)…§4€сФevEџ¶±B"“–¤0»Еш+8b›¬Bт»џїїХE§0<†F4fЛљLа Rш§§EњВyї)’Eо$ёoБ°7m*~¤п&с5.ЕMњћґK©“оЃш$e©z4БСb#ву,ЛЩТ#njы$Еj!VLр^qэс›H4QUС3КЗ^¤m‘MxJt}„Oї\hzЛ` ¦°Сf·mфЉЖ_ZС‡фТЈУ LG˜zlY$ЭѕбenЛ№ЇNњ‘¦dw•qіШ<“ђ+3¦Яо0 Q¤¤х €hNwЇЪ­ёИе™•MЪX‚<и ѓ_°Ћ­н¤вё! X?њc^Б'YJојч%fъЋ:—ЁЌиL}W»ёqз›_vЫqзч‚ч_ЦХш—yhҐЙь5Ь:…тЏ¶‡Jѕ+ш~ЬbA–3ЃИ›к'вІСЌ»Ґь_‹7¤‚ЖБТ#H™–}G5ѓЉ\ПЭй<4п8ьa&ЋW_РТ№&W#=j–џvпЉn+йёq@Ч &8Аз*vuЃь79@Аµсдл«вс дЬ%G&®yQпќ76ФБ~B'h дВ’жM™TTщм«U•ЗzЯLў9э†u9ѕ{F^ЗjZ‹ЖЎ“в3„ЫJRЎ§—¦НЎд.џЙЅШRfgМxzћbс§д}Юo;^ћ э,3KцМB‡0UЃтЃnПп,2ErSы¦Ч[ЎЪ№$5¶•[NЗє“Т¦'ыµ<:fA›ї€c ЄЃз>G§Dој  t¤№МїдhRґ;п3^Ў+aыbу5—№еvЙoИ8ЇЊuhќѓЭъ=±Ык1П°ЭqKКVџrйИСlКw+ »€фGc­цўлUѕШгrXё‡\¤ E©y¬Qс‹ Е>U UY_чт\ЙnЦ•дВ0kSе;’SГАЎKAйgёOЂЗзВ7VжyхЂЗwТ„ЈDBЛ<ѓжѓб]ънj2?Ґґ*­vОif€)ХGЙјL~hF'˜Т¶¤љhЙlњ ч( ]|TэҐЎ@yо©tпьfзЫхВ­tЛД-¤qы‰њ‹ЇZуаўСЮ uM#іҐl;–ЙЦёяhї.q*ТыЇnэE=#C.cђ|GџpЫOM‘mХФж”•ІЌ(€бdBѕЗKP[ц№dжkNаИN‹­=є1‡і_ќч“NЪzўР0uкЌЕЋџ‡ЊMр…&ТL4h?€ib›Іюb© Я±ЅeЮћ"сh‹$Аиі8ХfyЪ2 смЃМuf=іCJn ШЌЭќTхЩ`И‰№НЂЁ B>ъуЙLнwТA@‡Є‚ґЄwc3Ї>Ї!йћ‘©Сз§р­ISµЎТ­__AмYЕ“ЊЋх8{*љpЏ +?¶в|8хЏжеrД'S6†-pEYm‘}ќ ээjБІъcS°i зЈіzёЁјuqj®TІ3®,в3е”PДSz4б°BHбЅh97/HмЂ№еГ…‹Їv^ќFы)ЃЇ–o§­W<ФќоР]ClsЗ—Ъђ"}dОпx ]РщG .‡ЭЉG¤8d=„TТэК#иA=йдc7Цвяq^°Ћw„Jб†і’юЅЃ О7Yгњµ{¦ЏЋI‡+2k:в =‘л–ЭњSАЩ ЖPбЋ®lдЫ1/“мOj˜Oжъ“Q'«1ї @“МЏ•|Q?n@Mм‚щo€TBЗ «Љвi P‚mА[4’ГДЭЁ{Ъeuі_Я?`­¬T.ш0W#qыР‹ъ‡ІµДDмжфѓЂ–xiЩЄo·¶о+зХO tћ;®‰ј4\"&µ¬Sґє3­єb I-Й4 ПЋХЏ?Z=khыпFdкC=&X> Ћµx)IFvh‡^шЩщ@&d[6hД2"HГ·<С!у• еvai3DE=y4ћFUIў„О;d­rуґє§±экДЊ%вУпН3ЪєkЎЁЈGЙкЖ3kпнLlwЇ%[=AЂѓћkc>юNрХє return(0); } var $out_partners_list6; function out_partners_list6() { $num = 7; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from partners_tbl"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select partners_name, partners_text, partners_image from partners_tbl order by partners_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $text, $image)=mysql_fetch_row($this->sql_res)) { $image1=substr("$image",34); $this->out_partners_list6.="\"$name\"
$text
 \n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_news_list4; function out_news_list4() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from news_tbl"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select news_id, news_name, news_small, news_image1, date_format(news_date,'%d.%m.%Y') as news_date from news_tbl order by news_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $image, $date)=mysql_fetch_row($this->sql_res)) { $image1=substr("$image",34); $this->out_news_list4.="\"$name\"
$name$date

$small
подробнее
 \n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_news_id; var $out_news_name; var $out_news_big; var $out_news_date; var $out_news_image1; var $out_news_image2; function out_news() { $this->out_news_id=(int)$this->out_news_id; $this->sql_query="select news_name, news_big, date_format(news_date,'%d.%m.%Y') as news_date, news_image1, news_image2 from news_tbl where news_id='".$this->out_news_id."'"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) return(24); list($this->out_news_name, $this->out_news_big, $this->out_news_date, $this->out_news_image1,$this->out_news_image2)=mysql_fetch_row($this->sql_res); return(0); } var $out_company_list2; function out_company_list2() { $num = 2; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from company_tbl"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select company_body, company_image from company_tbl order by company_id LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($body, $image)=mysql_fetch_row($this->sql_res)) { $image1=substr("$image",34); $this->out_company_list2.="\"О
$body
 \n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_job; function out_job() { $this->sql_query="select const_text from const_tbl where const_id like '5'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_job)=mysql_fetch_row($this->sql_res); return(0); } var $out_work_list2; function out_work_list2() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '1'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select work_age, work_exp, work_know, work_comment, work_price, special_name, education_name from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '1' order by work_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) $this->notice_out="Сообщение: К сожалению, в данный момент, вакансий нет.

"; while(list($age, $exp, $know, $comment, $prise, $name, $school)=mysql_fetch_row($this->sql_res)) { $this->out_work_list2.="$name
Возраст: $age
Образование: $school
Зарплата: $prise руб.
Необходимый опыт работы
$exp
Необходимые навыки
$know
Обязанности
$comment

\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_work_list3; function out_work_list3() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '2'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select work_age, work_exp, work_know, work_comment, work_price, special_name, education_name from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '2' order by work_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) $this->notice2_out="Сообщение: К сожалению, в данный момент, вакансий нет.

"; while(list($age, $exp, $know, $comment, $prise, $name, $school)=mysql_fetch_row($this->sql_res)) { $this->out_work_list3.="$name
Возраст: $age
Образование: $school
Зарплата: $prise руб.
Необходимый опыт работы
$exp
Необходимые навыки
$know
Обязанности
$comment

\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_work_list4; function out_work_list4() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '3'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select work_age, work_exp, work_know, work_comment, work_price, special_name, education_name from work_tbl, special_tbl, education_tbl where work_special_id=special_id && work_education=education_id && work_enable like 'Y' && work_part_id like '3' order by work_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) $this->notice3_out="Сообщение: К сожалению, в данный момент, вакансий нет.

"; while(list($age, $exp, $know, $comment, $prise, $name, $school)=mysql_fetch_row($this->sql_res)) { $this->out_work_list4.="$name
Возраст: $age
Образование: $school
Зарплата: $prise руб.
Необходимый опыт работы
$exp
Необходимые навыки
$know
Обязанности
$comment

\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_feedback_list2; function out_feedback_list2() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 0,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list2.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list3; function out_feedback_list3() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 3,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list3.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list4; function out_feedback_list4() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 6,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list4.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list5; function out_feedback_list5() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 9,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list5.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list6; function out_feedback_list6() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 12,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list6.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list7; function out_feedback_list7() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 15,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list7.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list8; function out_feedback_list8() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 18,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list8.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list9; function out_feedback_list9() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 21,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list9.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list10; function out_feedback_list10() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 24,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list10.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list11; function out_feedback_list11() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 27,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list11.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list12; function out_feedback_list12() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 30,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list12.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list13; function out_feedback_list13() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 33,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list13.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list14; function out_feedback_list14() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 36,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list14.="
\"$name\"
$name
\n"; } return(0); } var $out_feedback_list15; function out_feedback_list15() { $this->sql_query="select feedback_name, feedback_image1, feedback_image2 from feedback_tbl order by feedback_id limit 39,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_feedback_list15.="
\"$name\"
$name
\n"; } return(0); } var $out_object_list; function out_object_list() { $this->sql_query="select object_id, object_name, object_small, object_adres, object_image1, object_image2 from object_tbl where object_main like 'Y' order by object_name limit 0,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $adres, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list.="
\"$name\"
$name
$small

подробнее
\"Адрес  $adres

\n"; } return(0); } var $out_object_id; var $out_object_name; var $out_object_order; var $out_object_adres; var $out_object_small; var $out_object_li; var $out_object_big; var $out_object_map_id; var $out_object_cord; var $out_object_tech1_id; var $out_object_tech2_id; var $out_object_tech3_id; var $out_object_tech4_id; var $out_object_tech5_id; var $out_object_image1; var $out_object_image2; function out_object() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_li, object_big, object_map_id, object_cord, object_image1, object_image2 from object_tbl where object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) return(137); list($this->out_object_id, $this->out_object_name, $this->out_object_order, $this->out_object_adres, $this->out_object_small, $this->out_object_li, $this->out_object_big, $this->out_object_map_id, $this->out_object_cord, $this->out_object_image1, $this->out_object_image2)=mysql_fetch_row($this->sql_res); return(0); } var $out_tech_name1; var $out_tech_name2; var $out_tech_name3; var $out_tech_name4; var $out_tech_name5; function out_tech1() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select tech_name from object_tbl, tech_tbl where object_tech1_id=tech_id && object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_tech_name1)=mysql_fetch_row($this->sql_res); return(0); } function out_tech2() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select tech_name from object_tbl, tech_tbl where object_tech2_id=tech_id && object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_tech_name2)=mysql_fetch_row($this->sql_res); return(0); } function out_tech3() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select tech_name from object_tbl, tech_tbl where object_tech3_id=tech_id && object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_tech_name3)=mysql_fetch_row($this->sql_res); return(0); } function out_tech4() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select tech_name from object_tbl, tech_tbl where object_tech4_id=tech_id && object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_tech_name4)=mysql_fetch_row($this->sql_res); return(0); } function out_tech5() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select tech_name from object_tbl, tech_tbl where object_tech5_id=tech_id && object_id='".$this->out_object_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_tech_name5 )=mysql_fetch_row($this->sql_res); return(0); } var $out_map; function out_map() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select object_name, object_cord, object_adres from object_tbl where object_id='".$this->out_object_id."' && object_map_id='".$this->out_object_map_id."' && object_cord='".$this->out_object_cord."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_name, $this->out_object_cord, $this->out_object_adres)=mysql_fetch_row($this->sql_res); return(0); } var $out_object_list2; function out_object_list2() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_part_id like '1'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_part_id like '1' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list2.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_object_list3; function out_object_list3() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_part_id like '2'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_part_id like '2' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list3.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_object_list4; function out_object_list4() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_part_id like '3'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_part_id like '3' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list4.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_object_list5; function out_object_list5() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_part_id like '4'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_part_id like '4' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list5.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_object_list6; function out_object_list6() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_part_id like '5'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_part_id like '5' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list6.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_object_list18; function out_object_list18() { $num = 3; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from object_tbl where object_bmz like '1'"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select object_id, object_name, object_order, object_adres, object_small, object_image1, object_image2 from object_tbl where object_bmz like '1' order by object_name LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $order, $adres, $small, $image1, $image2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_2=substr("$image2",34); $this->out_object_list18.="
\"$name\"
$name
Заказчик: $order
$small


\"Адрес  $adres

 
\n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_news_list5; function out_news_list5() { $this->sql_query="select news_id, news_name, news_small, date_format(news_date,'%d.%m.%Y') as news_date from news_tbl order by news_id desc limit 0,3"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $date)=mysql_fetch_row($this->sql_res)) { $this->out_news_list5.="$date
$name
$small

подробнее

\n"; } return(0); } var $out_news_list6; function out_news_list6() { $this->sql_query="select news_id, news_name, news_small, date_format(news_date,'%d.%m.%Y') as news_date from news_tbl order by news_id desc limit 0,4"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $date)=mysql_fetch_row($this->sql_res)) { $this->out_news_list6.="$date
$name
$small
подробнее

\n"; } return(0); } var $out_news_list7; function out_news_list7() { $this->sql_query="select news_id, news_name, news_small, date_format(news_date,'%d.%m.%Y') as news_date from news_tbl order by news_id desc limit 0,7"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $date)=mysql_fetch_row($this->sql_res)) { $this->out_news_list7.="$date
$name
$small
подробнее

\n"; } return(0); } var $out_object_list7; function out_object_list7() { $this->sql_query="select object_id, object_name, object_adres, object_cord from object_tbl where object_map_id like '1'"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $adres, $cord)=mysql_fetch_row($this->sql_res)) { $this->out_object_list7.="
\"$name,
\n"; } return(0); } var $out_object_list8; function out_object_list8() { $this->sql_query="select object_id, object_name, object_adres, object_cord from object_tbl where object_map_id like '2'"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $adres, $cord)=mysql_fetch_row($this->sql_res)) { $this->out_object_list8.="
\"$name,
\n"; } return(0); } var $out_doc_list; function out_doc_list() { $this->sql_query="select doc1_id, doc1_name from doc1_tbl order by doc1_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_doc_list.="$name\n"; } return(0); } var $out_doc_list3; function out_doc_list3() { $this->sql_query="select doc1_id, doc1_name from doc1_tbl order by doc1_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_doc_list3.="$name\n"; } return(0); } var $out_doc_id; var $out_doc_list2; var $out_doc_name; function out_doc_list2() { $this->out_doc_id=(int)$this->out_doc_id; $this->sql_query="select doc1_id, doc1_name from doc1_tbl where doc1_id='".$this->out_doc_id."'"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) return(164); list($this->out_doc_id, $this->out_doc_name)=mysql_fetch_row($this->sql_res); $this->sql_query="select doc2_id, doc2_name, doc2_link, doc2_check, doc2_image1, doc2_image2 from doc1_tbl, doc2_tbl where doc2_doc1_id=doc1_id && doc2_doc1_id='".$this->out_doc_id."' && doc2_enable like 'Y' order by doc2_id"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $link, $check, $image1, $image2)=mysql_fetch_row($this->sql_res)) { if ($check!=="1") { $link2=substr("$link",32); $this->out_doc_list2.=" $name
\n"; } else { $image1_1=substr("$image1",34); $image2_1=substr("$image2",34); $this->out_doc_list2.="\"$name\" \n"; } } return(0); } var $out_doc_id2; function out_doc_id() { $this->sql_query="select doc1_id from doc1_tbl order by doc1_name desc limit 0,1"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_doc_id2)=mysql_fetch_row($this->sql_res); return(0); } var $out_image_list; function out_image_list() { $this->out_object_id=(int)$this->out_object_id; $this->sql_query="select image_image1, image_image2, object_name from image_tbl, object_tbl where image_object_id=object_id && object_id='".$this->out_object_id."' limit 0,4"; $this->sql_execute(); if($this->sql_err) return(11); while(list($image1, $image2, $name)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_1=substr("$image2",34); $this->out_image_list.="\"$name\"\n"; } return(0); } var $out_news_list8; function out_news_list8() { $this->sql_query="select news_id, news_name, news_small, date_format(news_date,'%d.%m.%Y') as news_date from news_tbl order by news_id desc limit 0,1"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $date)=mysql_fetch_row($this->sql_res)) { $this->out_news_list8.="$date
$name
$small
подробнее

\n"; } return(0); } var $out_pressa_list2; function out_pressa_list2() { $num = 4; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from pressa_tbl"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select pressa_name, pressa_link, pressa_small, pressa_image from pressa_tbl order by pressa_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $link, $small, $image)=mysql_fetch_row($this->sql_res)) { $image1=substr("$image",34); $this->out_pressa_list2.="\"$name\"
$name
$small
подробнее
 \n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_top_list2; function out_top_list2() { $this->sql_query="select top_fio, top_post, top_about, top_image from top_tbl order by top_id"; $this->sql_execute(); if($this->sql_err) return(11); while(list($fio, $post, $about, $image)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image",34); $this->out_top_list2.="
\"$fio\" 
$fio
$post

$about
 \n"; } return(0); } var $out_best_list2; function out_best_list2() { $this->sql_query="select best_fio, special_name, best_about, best_image from best_tbl, special_tbl where best_special_id=special_id && best_enable like 'Y' order by special_name"; $this->sql_execute(); if($this->sql_err) return(11); while(list($fio, $post, $about, $image)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image",34); $this->out_best_list2.="
\"$fio\" 
$fio
$post

$about
 \n"; } return(0); } var $out_news_list9; function out_news_list9() { $this->sql_query="select news_id, news_name from news_tbl order by news_id desc limit 0,10"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_news_list9.="
  • $name\n"; } return(0); } var $out_doc_list4; function out_doc_list4() { $this->sql_query="select doc1_id, doc1_name from doc1_tbl order by doc1_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_doc_list4.="
  • $name\n"; } return(0); } var $searching; function out_search_check() { $this->searching=AddSlashes($this->searching); if(strlen($this->searching)<3) return(200); if(strlen($this->searching)>25) return(201); $this->searching=eregi_replace("Script","noscript",$this->searching); $this->searching=eregi_replace(">","",$this->searching); $this->searching=eregi_replace("<","",$this->searching); $this->searching=eregi_replace("(\r?\n)+","",$this->searching); $this->searching=eregi_replace("%"," ",$this->searching); $this->searching = htmlspecialchars(stripslashes($this->searching)); return(0); } var $out_search; function search() { $err=$this->out_search_check(); if($err) return($err); $this->sql_query="select object_id, object_name from object_tbl where object_name like '%".$this->searching."%' or object_small like '%".$this->searching."%' or object_big like '%".$this->searching."%' or object_li like '%".$this->searching."%' or object_adres like '%".$this->searching."%'"; $this->sql_execute(); if($this->sql_err) return(11); $resultsnumber = mysql_numrows($this->sql_res); IF ($resultsnumber == 0) return(202); else { while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_search.="
    Результат поиска$name

    \n"; } } return(0); } var $out_otziv_list; function out_otziv_list() { $num = 5; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) from otziv_tbl where otziv_status like 'Y' order by otziv_id desc"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select otziv_name, otziv_body from otziv_tbl where otziv_status like 'Y' order by otziv_id desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($name, $body)=mysql_fetch_row($this->sql_res)) { $this->out_otziv_list.="
    $body

    $name

    \n"; } if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_mkcat_list2; function out_mkcat_list2() { $this->sql_query="select mkcat_id, mkcat_name from mkcat_tbl order by mkcat_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_mkcat_list2.="$name\n"; } return(0); } var $out_mkcat_list3; function out_mkcat_list3() { $this->sql_query="select mkcat_id, mkcat_name from mkcat_tbl order by mkcat_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_mkcat_list3.="$name\n"; } return(0); } var $out_mkcat_id; var $out_mk_list; var $out_mkcat_name; var $out_mkcat_about; function out_mk_list() { $this->out_mkcat_id=(int)$this->out_mkcat_id; $num = 5; $page = $_GET['page']; $this->sql_query="SELECT COUNT(*) FROM mk_tbl, mkcat_tbl where mkcat_id='".$this->out_mkcat_id."' && mkcat_id=mk_part_id"; $this->sql_execute(); $rgPosts = mysql_fetch_row($this->sql_res); $posts=$rgPosts[0]; $total = intval(($posts - 1) / $num) + 1; $page = intval($page); if(empty($page) or $page < 0) $page = 1; if($page > $total) $page = $total; $start = $page * $num - $num; $this->sql_query="select mkcat_name, mkcat_about from mkcat_tbl where mkcat_id='".$this->out_mkcat_id."'"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) return(234); list($this->out_mkcat_name, $this->out_mkcat_about)=mysql_fetch_row($this->sql_res); $this->sql_query="select mk_id, mk_name, mk_small, mk_image1, mk_image2 from mk_tbl, mkcat_tbl where mkcat_id='".$this->out_mkcat_id."' && mkcat_id=mk_part_id order by mk_name desc LIMIT $start, $num"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name, $small, $image1, $image2, $name2, $id2)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_1=substr("$image2",34); $this->out_mk_list.="
      $name
    \"$name\" $small

     
    \n"; } $mkcat_id = $_GET['id']; if ($page != 1) $pervpage = "\"В \"На "; if ($page != $total) $nextpage = " \"На \"В"; if($page - 2 > 0) $page2left = " ". ($page - 2) ." | "; if($page - 1 > 0) $page1left = "". ($page - 1) ." | "; if($page + 2 <= $total) $page2right = " | ". ($page + 2) .""; if($page + 1 <= $total) $page1right = " | ". ($page + 1) .""; $this->out_menu.="$pervpage $page2left $page1left Стр. $page $page1right $page2right $nextpage"; return(0); } var $out_mk_id; var $out_mk_name; var $out_mk_small; var $out_mk_big; var $out_mk_image1; var $out_mk_image2; var $out_mk_object_id1; var $out_mk_object_id2; var $out_mk_object_id3; var $out_mk_object_id4; var $out_mk_object_id5; function out_mk() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select mk_id, mk_name, mk_small, mk_big, mk_image1, mk_image2, mkcat_name, mkcat_id from mk_tbl, mkcat_tbl where mkcat_id=mk_part_id && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); if(!mysql_num_rows($this->sql_res)) return(235); list($this->out_mk_id, $this->out_mk_name, $this->out_mk_small, $this->out_mk_big, $this->out_mk_image1, $this->out_mk_image2, $this->out_mkcat_name, $this->out_mkcat_id)=mysql_fetch_row($this->sql_res); return(0); } var $out_object_id1; var $out_object_id2; var $out_object_id3; var $out_object_id4; var $out_object_id5; var $out_object_name1; var $out_object_name2; var $out_object_name3; var $out_object_name4; var $out_object_name5; function out_object1() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select object_id, object_name from object_tbl, mk_tbl where object_id=mk_object_id1 && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_id1, $this->out_object_name1)=mysql_fetch_row($this->sql_res); return(0); } function out_object2() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select object_id, object_name from object_tbl, mk_tbl where object_id=mk_object_id2 && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_id2, $this->out_object_name2)=mysql_fetch_row($this->sql_res); return(0); } function out_object3() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select object_id, object_name from object_tbl, mk_tbl where object_id=mk_object_id3 && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_id3, $this->out_object_name3)=mysql_fetch_row($this->sql_res); return(0); } function out_object4() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select object_id, object_name from object_tbl, mk_tbl where object_id=mk_object_id4 && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_id4, $this->out_object_name4)=mysql_fetch_row($this->sql_res); return(0); } function out_object5() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select object_id, object_name from object_tbl, mk_tbl where object_id=mk_object_id5 && mk_id='".$this->out_mk_id."'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_object_id5, $this->out_object_name5)=mysql_fetch_row($this->sql_res); return(0); } var $out_image_list3; function out_image_list3() { $this->out_mk_id=(int)$this->out_mk_id; $this->sql_query="select image_image1, image_image2, mk_name from image_tbl, mk_tbl where image_mk_id=mk_id && mk_id='".$this->out_mk_id."' limit 0,2"; $this->sql_execute(); if($this->sql_err) return(11); while(list($image1, $image2, $name)=mysql_fetch_row($this->sql_res)) { $image1_1=substr("$image1",34); $image2_1=substr("$image2",34); $this->out_image_list3.="\"$name\" \n"; } return(0); } var $out_mk_body; function out_mk_body() { $this->sql_query="select const_text from const_tbl where const_id like '6'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_mk_body)=mysql_fetch_row($this->sql_res); return(0); } var $out_mk4; function out_mk4() { $this->sql_query="select const_text from const_tbl where const_id like '6'"; $this->sql_execute(); if($this->sql_err) return(11); list($this->out_mk4)=mysql_fetch_row($this->sql_res); return(0); } var $out_mkcat_list4; function out_mkcat_list4() { $this->sql_query="select mkcat_id, mkcat_name from mkcat_tbl order by mkcat_name desc"; $this->sql_execute(); if($this->sql_err) return(11); while(list($id, $name)=mysql_fetch_row($this->sql_res)) { $this->out_mkcat_list4.="

  • $name\n"; } return(0); } } ?>
    Fatal error: Class 'class_out' not found in /home/u100812/domostroy31ru/www/prom_object.php on line 4