Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
restoran_modif.php~
Содержимое
<?php /* This file has been created on Tue Jan 29 10:22:05 MSK 2008 */ $base_url='../'; require($base_url.'inc/top.inc.php'); require_once('menu.inc.php'); //prepare GET /* Begin the global sql query section */ $r_type = sql("select * from restoran_type order by name"); if (!$r_type) { error(); } $r_kitchen = sql("select * from restoran_kitchen order by name"); if (!$r_kitchen) { error(); } $r_place = sql("select * from restoran_place order by name"); if (!$r_place) { error(); } $r_children = sql("select * from restoran_children order by name"); if (!$r_children) { error(); } $r_area = sql("select * from restoran_area order by name"); if (!$r_area) { error(); } $r_card = sql("select * from restoran_card order by name"); if (!$r_area) { error(); } $r_offer = sql("select * from restoran_offer order by name"); if (!$r_offer) { error(); } $r_music = sql("select * from restoran_music order by name"); if (!$r_music) { error(); } $r_entertainment = sql("select * from restoran_entertainment order by name"); if (!$r_entertainment) { error(); } $r_status = sql("select * from status"); if (!$r_section) { error(); } while ( $rs_status = sqlget( $r_status ) ) { $status_array[$rs_status['id']] = $rs_status['name']; } /* End the global sql query section */ ?> <?php if ($_GET['id'] <> '') { /* Edit instructions */ $title = 'Редактирование ресторана'; /* Begin the action sql query section */ $rs_restoran = sqlval("select * from restoran where id='".intval($_GET['id'])."'"); if (!$rs_restoran) { error(); } /* End the action sql query section */ $id = $rs_restoran['id']; }else{ /* Insert instructions */ $title = 'Добавление ресторана'; $rs_restoran['date'] = date("Y-m-d"); /* Begin the action sql query section */ /* End the action sql query section */ $id = ''; } ?> <script src="https://api-maps.yandex.ru/2.0/?load=package.full&lang=ru-RU&apikey=712aa57b-6c83-469d-9bc9-74f1c713893e" type="text/javascript"></script> <script type="text/javascript" src="/library/js/ckeditor/ckeditor.js"></script> <script type="text/javascript"> <!-- $(document).ready(function(){ CKEDITOR.replace( 'text_document' ); }); ymaps.ready(function () { var map; function initMap() { if (map) return false; map = new ymaps.Map("YMapsID", { center: [52.96, 36.06], zoom: 12, behaviors: ["default", "scrollZoom"], type: 'yandex#map' }); map.controls.add("mapTools") .add("zoomControl") .add("miniMap") .add("searchControl") .add("typeSelector"); map.events.add('boundschange', function(e) { jQuery('#scale').val(e.get('newZoom')); }); } initMap(); <?php if ( $rs_restoran['lat'] > 0 && $rs_restoran['lng'] > 0 ) : ?> $( "#map" ).show(); map.container.fitToViewport(); var coordinates = [<?php echo $rs_restoran['lat']; ?>, <?php echo $rs_restoran['lng']; ?>] map.setCenter(coordinates, <?php echo ($rs_restoran['scale']) ? $rs_restoran['scale'] : 16; ?>); map.balloon.open( coordinates, { content: "Значение: " + coordinates + " на масштабе " + map.getZoom() }, { closeButton: true } ); <?php endif; ?> $('#showMap').click(function(){ $( "#map" ).show(); <?php if ( $rs_restoran['lat'] > 0 && $rs_restoran['lng'] > 0 && $rs_restoran['scale'] > 0) : ?> var coordinates = [<?php echo $rs_restoran['lat']; ?>, <?php echo $rs_restoran['lng']; ?>] map.setCenter(coordinates, <?php echo $rs_restoran['scale']; ?>); map.balloon.open( coordinates, { content: "Значение: " + coordinates + " на масштабе " + map.getZoom() }, { closeButton: true } ); <?php endif; ?> map.events.add("click", function(e) { var _lat = e.get("coordPosition")[0]; var _long = e.get("coordPosition")[1]; var _zoom = map.getZoom(); jQuery('#lat').val(_lat); jQuery('#lng').val(_long); jQuery('#scale').val(_zoom); map.balloon.open( e.get("coordPosition"), { content: "Значение: " + e.get("coordPosition") + " на масштабе " + map.getZoom() }, { closeButton: true } ); }); }); $('#findAddress').click(function(){ $( "#map" ).show(); map.container.fitToViewport(); var geocoder = new ymaps.geocode('город Орел, ' + $('#address').val(), {results:1}); geocoder.then( function (res) { if (res.geoObjects.getLength()) { var geoObject = res.geoObjects.get(0); var coordinates = geoObject.geometry.getCoordinates() var placemark = new ymaps.Placemark( coordinates, { hintContent: res.metaData.geocoder.request, balloonContent: res.metaData.geocoder.request }, { hideIconOnBallon: false, draggable: true } ); placemark.events.add("drag",function(e) { var target = e.get('target'), coordinates = target.geometry.getCoordinates(); jQuery('#lat').val(coordinates[0]); jQuery('#lng').val(coordinates[1]); }); jQuery('#lat').val(coordinates[0]); jQuery('#lng').val(coordinates[1]); jQuery('#scale').val(16); map.setCenter(coordinates, 16); map.geoObjects.add(placemark); placemark.balloon.open(); } }, function (err) { alert("Произошла ошибка: Объект не найден"); } ) }); }); --> </script> <br> <div align=center><font class='title'><?=$title?></font></div> <?php $name_arr = sqlval("SELECT name FROM restoran WHERE id={$_GET['id']}"); $name = $name_arr['name']; if($name!=''){?> <div style="text-align: center;"><a href="restoran.php?action=search&text=<?php echo rawurlencode($name);?>&submit=%CD%E0%E9%F2%E8">Назад</a></div> <?php } ?> <script type="text/javascript"> $(function(e) { function cyr2lat(str) { var cyr2latChars = new Array( ['а', 'a'], ['б', 'b'], ['в', 'v'], ['г', 'g'], ['д', 'd'], ['е', 'e'], ['ё', 'yo'], ['ж', 'zh'], ['з', 'z'], ['и', 'i'], ['й', 'y'], ['к', 'k'], ['л', 'l'], ['м', 'm'], ['н', 'n'], ['о', 'o'], ['п', 'p'], ['р', 'r'], ['с', 's'], ['т', 't'], ['у', 'u'], ['ф', 'f'], ['х', 'h'], ['ц', 'c'], ['ч', 'ch'], ['ш', 'sh'], ['щ', 'shch'], ['ъ', ''], ['ы', 'y'], ['ь', ''], ['э', 'e'], ['ю', 'yu'], ['я', 'ya'], ['А', 'A'], ['Б', 'B'], ['В', 'V'], ['Г', 'G'], ['Д', 'D'], ['Е', 'E'], ['Ё', 'YO'], ['Ж', 'ZH'], ['З', 'Z'], ['И', 'I'], ['Й', 'Y'], ['К', 'K'], ['Л', 'L'], ['М', 'M'], ['Н', 'N'], ['О', 'O'], ['П', 'P'], ['Р', 'R'], ['С', 'S'], ['Т', 'T'], ['У', 'U'], ['Ф', 'F'], ['Х', 'H'], ['Ц', 'C'], ['Ч', 'CH'], ['Ш', 'SH'], ['Щ', 'SHCH'], ['Ъ', ''], ['Ы', 'Y'], ['Ь', ''], ['Э', 'E'], ['Ю', 'YU'], ['Я', 'YA'], ['a', 'a'], ['b', 'b'], ['c', 'c'], ['d', 'd'], ['e', 'e'], ['f', 'f'], ['g', 'g'], ['h', 'h'], ['i', 'i'], ['j', 'j'], ['k', 'k'], ['l', 'l'], ['m', 'm'], ['n', 'n'], ['o', 'o'], ['p', 'p'], ['q', 'q'], ['r', 'r'], ['s', 's'], ['t', 't'], ['u', 'u'], ['v', 'v'], ['w', 'w'], ['x', 'x'], ['y', 'y'], ['z', 'z'], ['A', 'A'], ['B', 'B'], ['C', 'C'], ['D', 'D'], ['E', 'E'], ['F', 'F'], ['G', 'G'], ['H', 'H'], ['I', 'I'], ['J', 'J'], ['K', 'K'], ['L', 'L'], ['M', 'M'], ['N', 'N'], ['O', 'O'], ['P', 'P'], ['Q', 'Q'], ['R', 'R'], ['S', 'S'], ['T', 'T'], ['U', 'U'], ['V', 'V'], ['W', 'W'], ['X', 'X'], ['Y', 'Y'], ['Z', 'Z'], [' ', '-'], ['0', '0'], ['1', '1'], ['2', '2'], ['3', '3'], ['4', '4'], ['5', '5'], ['6', '6'], ['7', '7'], ['8', '8'], ['9', '9'], ['-', '-'] ); var newStr = new String(); for (var i = 0; i < str.length; i++) { ch = str.charAt(i); var newCh = ''; for (var j = 0; j < cyr2latChars.length; j++) { if (ch == cyr2latChars[j][0]) { newCh = cyr2latChars[j][1]; } } // Если найдено совпадение, то добавляется соответствие, если нет - пустая строка newStr += newCh; } // Удаляем повторяющие знаки - Именно на них заменяются пробелы. // Так же удаляем символы перевода строки, но это наверное уже лишнее return newStr.replace(/[-]{2,}/gim, '-').replace(/\n/gim, ''); } <?php if (isset($_GET['id']) == false || $_GET['id'] == '' || $_GET['id'] == 0) { ?> $('input[name=name]').on('keyup', function (e) { e.preventDefault(); $('input[name=restoran_url]').val(cyr2lat($(this).val()).toLowerCase()); }); <?php } ?> $('#jq-fill-news-url').on('click', function (e) { $('input[name=restoran_url]').val(cyr2lat($('input[name=name]').val()).toLowerCase()); }); }); </script> <form name='save_doc' action='restoran_sql.php' method='post' enctype="multipart/form-data"> <input type='hidden' name='id' value='<?=$_GET['id']?>'> <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center" class="table_border"> <tr> <td> <table width=100% cellspacing=1 cellpading=2 border=0> <tr bgcolor=#ffffff> <td> Название </td> <td> <input type="text" name="name" value="<?=$rs_restoran['name']?>" size="50"> </td> </tr> <tr bgcolor="#ffffff"> <td> <b>URL</b> </td> <td> <input name="restoran_url" type="text" size="60" maxsize="255" value="<?=$rs_restoran['restoran_url'];?>" /> <button type="button" id="jq-fill-news-url">Заполнить из названия</button> </td> </tr> <tr bgcolor=#ffffff> <td> Дата </td> <td> г-м-д <input type='text' name='date' value='<?=$rs_restoran['date']?>' maxlength=10 size=14 style='font:bold x-small Verdana; text-align:center; border:double 3px;'> <a href='javascript:void(0)' onclick="return calGetDate(this, document.forms['save_doc'].date);"><img src='<?=$base_url?>images/prop.gif' width=16 height=16 border=0></a> </td> </tr> <tr bgcolor=#ffffff> <td> Район </td> <td> <select name="id_area"> <?php while ($rs_area = sqlget($r_area)) { if ($rs_area['id'] == $rs_restoran['id_area']) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_area['id'].'"'.$sel.'>'.substr($rs_area['name'],0,255).'</option>'; } ?> </select> <input type="text" name="area_new" value="" size="50"> <input type="checkbox" name="in_city" value="" checked>В городе </td> </tr> <tr bgcolor=#ffffff> <td> Адрес </td> <td> <input id="address" type="text" name="address" size="50" value="<?=$rs_restoran['address']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> ИД дома </td> <td> <a id="findAddress" href="javascript:void(0);">Найти адрес на карте</a> <div id="map" style="display:none;"> Широта: <input type="text" id="lat" name="lat" value="<?php echo $rs_restoran['lat']; ?>" /> Долгота: <input type="text" id="lng" name="lng" value="<?php echo $rs_restoran['lng']; ?>" /> Масштаб: <input type="text" id="scale" name="scale" value="<?php echo $rs_restoran['scale']; ?>" /> <div id="YMapsID" style="width:600px;height:400px"></div> </div> </td> </tr> <tr bgcolor=#ffffff> <td> Телефон </td> <td> <input type="text" name="phone" size="50" value="<?=$rs_restoran['phone']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Сайт </td> <td> <input type="text" name="site" size="50" value="<?=$rs_restoran['site']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Вконтакте </td> <td> <input type="text" name="vk_url" size="50" value="<?=$rs_restoran['vk_url']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Instagram </td> <td> <input type="text" name="instagram_url" size="50" value="<?=$rs_restoran['instagram_url']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> URL Redirect </td> <td> <input type="text" name="url_redirect" size="50" value="<?=$rs_restoran['url_redirect']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> E-mail </td> <td> <input type="text" name="email" size="50" value="<?=$rs_restoran['email']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Рабочие часы </td> <td> <input type="text" name="work_hours" size="50" value="<?=$rs_restoran['work_hours']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Тип </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['type']);?> </td> <td rowspan="2"><select name="id_type[]" multiple size="5"> <?php while ($rs_type = sqlget($r_type)) { if (strpos($rs_restoran['type'],$rs_type['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_type['name'].'"'.$sel.'>'.substr($rs_type['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'><input type="text" name="type_new" value="" size="50"></td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Кухня </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['kitchen']);?> </td> <td rowspan="2"> <select name="id_kitchen[]" size="5" multiple> <?php while ($rs_kitchen = sqlget($r_kitchen)) { if (strpos($rs_restoran['kitchen'],$rs_kitchen['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_kitchen['name'].'"'.$sel.'>'.substr($rs_kitchen['name'],0,255).'</option>'; } ?> </select> </td> <tr> <td width='350'> <input type="text" name="kitchen_new" value="" size="50"> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Идеальное место для </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['place']);?> </td> <td rowspan="2"> <select name="id_place[]" multiple size="5"> <?php while ($rs_place = sqlget($r_place)) { if (strpos($rs_restoran['place'],$rs_place['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_place['name'].'"'.$sel.'>'.substr($rs_place['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'> <input type="text" name="place_new" value="" size="50"> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Дети </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['children']);?> </td> <td rowspan="2"> <select name="id_children[]" multiple> <?php while ($rs_children = sqlget($r_children)) { if (strpos($rs_restoran['children'],$rs_children['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_children['name'].'"'.$sel.'>'.substr($rs_children['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'> <input type="text" name="children_new" value="" size="50"> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Кредитка </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['card']);?> </td> <td rowspan="2"> <select name="id_card[]" multiple size="5"> <?php while ($rs_card = sqlget($r_card)) { if (strpos($rs_restoran['card'],$rs_card['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_card['name'].'"'.$sel.'>'.substr($rs_card['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'> <input type="text" name="card_new" size="50" value=""> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Предложение </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['offer']);?> </td> </tr> <tr> <td> <select name="id_offer[]" multiple style='width:1100px;'> <?php while ($rs_offer = sqlget($r_offer)) { if (strpos($rs_restoran['offer'],$rs_offer['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_offer['name'].'"'.$sel.'>'.substr($rs_offer['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'> <input type="text" name="offer_new" value="" size="50"> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Развлечения </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['entertainment']);?> </td> <td rowspan="2"> <select name="id_entertainment[]" multiple size="5"> <?php while ($rs_entertainment = sqlget($r_entertainment)) { if (strpos($rs_restoran['entertainment'],$rs_entertainment['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_entertainment['name'].'"'.$sel.'>'.substr($rs_entertainment['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr> <td width='350'> <input type="text" name="entertainment_new" value="" size="50"> </td> </tr> </table> </td> </tr> <tr bgcolor=#ffffff> <td> Музыка </td> <td> <table width="100%"> <tr> <td> <?php echo str_replace(";",", ",$rs_restoran['music']);?> </td> <td rowspan="2"> <select name="id_music[]" multiple> <?php while ($rs_music = sqlget($r_music)) { if (strpos($rs_restoran['music'],$rs_music['name']) !== false) $sel = 'selected'; else $sel = ''; echo '<option value="'.$rs_music['name'].'"'.$sel.'>'.substr($rs_music['name'],0,255).'</option>'; } ?> </select> </td> </tr> <tr><td width='350'> <input type="text" name="music_new" size="50" value=""> </td></tr></table> </td> </tr> <tr bgcolor=#ffffff> <td> Зал </td> <td> <input type="text" name="hall" size="50" value="<?=$rs_restoran['hall']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Цена </td> <td> <input type="text" name="cost" size="50" value="<?=$rs_restoran['cost']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Особенности </td> <td> <input type="text" name="feature" size="50" value="<?=$rs_restoran['feature']?>"> </td> </tr> <tr bgcolor=#ffffff> <td> Парковка </td> <td> <input type="text" name="parking" size="50" value="<?=$rs_restoran['parking']?>"> <?php $content = file_get_contents('./vars/parking_list.var'); $rs_parking = explode(';',$content); ?> <select name="parking_file" onchange="changeVal('parking');" multiple> <?php foreach ($rs_parking as $val) { echo '<option value="'.$val.'">'.$val; } ?> </select> </td> </tr> <tr bgcolor=#ffffff> <td> Одежда </td> <td> <input type="text" name="clothes" size="50" value="<?=$rs_restoran['clothes']?>"> <?php $content = file_get_contents('./vars/clothes_list.var'); $rs_clothes = explode(';',$content); ?> <select name="clothes_file" onchange="changeVal('clothes');" multiple> <?php foreach ($rs_clothes as $val) { echo '<option value="'.$val.'">'.$val; } ?> </td> </tr> <tr bgcolor=#ffffff> <td> Вход </td> <td> <input type="text" name="enter" size="50" value="<?=$rs_restoran['enter']?>"> <?php $content = file_get_contents('./vars/enter_list.var'); $rs_enter = explode(';',$content); ?> <select name="enter_file" onchange="changeVal('enter');" multiple> <?php foreach ($rs_enter as $val) { echo '<option value="'.$val.'">'.$val; } ?> </td> </tr> <tr bgcolor=#ffffff> <td> Фото </td> <td> <input type="file" name="img_index" size="50"> <?php if ($rs_restoran['img_index'] != '' && file_exists('../../' . $rs_restoran['img_index'])) { echo '<img src="../../'.$rs_restoran['img_index'] . '" border="0">'; echo '<input type="checkbox" name="del_foto" value="">Удалить фото'; } ?> </td> </tr> <tr bgcolor=#ffffff> <td> Логотип </td> <td> <input type="file" name="logo" size="50"> <?php if ($rs_restoran['logo'] != '' && file_exists('../../' . $rs_restoran['logo'])) { echo '<img src="../../'.$rs_restoran['logo'] . '" border="0">'; echo '<input type="checkbox" name="del_logo" value="">Удалить логотип'; } ?> </td> </tr> <tr bgcolor=#ffffff> <td> Фото (355*200px) </td> <td> <input type="file" name="foto_485" size="50"> <?php if ($rs_restoran['foto_485'] != '' && file_exists('../../' . $rs_restoran['foto_485'])) { echo '<img src="../../'.$rs_restoran['foto_485'] . '" border="0">'; echo '<input type="checkbox" name="del_foto_485" value="">Удалить фото'; } ?> </td> </tr> <tr bgcolor=#ffffff> <td> Информация </td> <td> <textarea id="text_document" name="text_document" cols="20" rows="6"><?=$rs_restoran['info']?></textarea><br> </td> </tr> <tr bgcolor=#ffffff> <td> Платный </td> <td> <input type="checkbox" name="registr" value="1" <?php if ( $rs_restoran['registr'] == 1) echo 'checked'; ?> /> </td> </tr> <tr bgcolor="#ffffff"> <td><b>Статус</b></td><td><select name="status"> <?php foreach ($status_array as $key => $value) { if ( $rs_restoran['status'] == $key ) $sel = 'selected'; else $sel = ''; echo "<option value=\"{$key}\" {$sel}>{$value}</option>"; } ?> </select></td> </tr> <tr bgcolor=#ffffff> <td> Активный раздел </td> <td> <select name='active_tabs'> <option value="0" <?if ($rs_restoran['def_tab']=='0'){echo('selected');}?> >О ресторане</option> <option value="1" <?if ($rs_restoran['def_tab']=='1'){echo('selected');}?> >Отзывы</option> <option value="2" <?if ($rs_restoran['def_tab']=='2'){echo('selected');}?> >Панорамы</option> <option value="3" <?if ($rs_restoran['def_tab']=='3'){echo('selected');}?> >Фото</option> <option value="4" <?if ($rs_restoran['def_tab']=='4'){echo('selected');}?> >Меню</option> <option value="5" <?if ($rs_restoran['def_tab']=='5'){echo('selected');}?> >Новости</option> <option value="6" <?if ($rs_restoran['def_tab']=='6'){echo('selected');}?> >Видео</option> </select> </td> </tr> <tr bgcolor=#ffffff> <td colspan="2"> <input type="submit" name="submit" value='OK'> <input type="button" name="reset" value="Отменить ввод" onclick="location.href='index.php'"> </td> </tr> </table> </td> </tr> </table> </form> <?php $name_arr = sqlval("SELECT name FROM restoran WHERE id={$_GET['id']}"); $name = $name_arr['name']; if($name!=''){?> <div style="text-align: center;"><a href="restoran.php?action=search&text=<?php echo rawurlencode($name);?>&submit=%CD%E0%E9%F2%E8">Назад</a></div> <?php } ?> <?php require($base_url.'inc/bottom.inc.php'); ?>
/admin/restoran/
Имя
Дата
Размер
..
2026-10-02
vars
2013-04-27
.htaccess_old
2012-08-20
32 байт
_photo_modif.php
2013-12-20
9 кб.
_photo_sql.php
2013-12-16
5 кб.
action.php
2014-11-11
446 байт
action_crop.php
2015-09-29
1 кб.
action_user.php
2013-02-05
2 кб.
albums.php
2014-12-26
3 кб.
area.php
2008-12-04
3 кб.
card.php
2008-12-04
3 кб.
check_url.php
2017-08-14
815 байт
check_url_news.php
2017-08-14
815 байт
children.php
2008-12-04
3 кб.
comment.php
2014-12-05
3 кб.
comment_comment.php
2015-09-29
3 кб.
comment_comment_sql.php
2013-12-05
1 кб.
comment_modif.php
2012-10-23
4 кб.
comment_sql.php
2012-10-23
2 кб.
entertainment.php
2008-12-04
3 кб.
kitchen.php
2008-12-04
3 кб.
maps.php
2012-07-12
848 байт
menu.inc.php
2013-02-05
846 байт
menu.php
2014-12-05
4 кб.
menu_modif.php
2017-03-03
6 кб.
menu_sql.php
2017-03-03
3 кб.
migration.php
2008-12-04
239 байт
move.php
2014-03-31
1 кб.
movealbum.php
2014-03-31
1017 байт
multidel.php
2013-12-25
428 байт
music.php
2008-12-04
3 кб.
news.php
2017-08-14
3 кб.
news_modif.php
2017-09-11
11 кб.
news_sql.php
2017-09-11
12 кб.
offer.php
2008-12-04
3 кб.
panoram.php
2014-12-05
4 кб.
panoram_modif.php
2014-02-04
5 кб.
panoram_sql.php
2014-02-04
4 кб.
photo.php
2014-12-05
6 кб.
photo_modif.php
2014-03-31
9 кб.
photo_sql.php
2018-07-12
5 кб.
place.php
2008-12-04
3 кб.
resize_crop.php
2013-12-09
3 кб.
restoran.php
2022-02-25
5 кб.
restoran.php~
2013-12-20
5 кб.
restoran_modif.php
2022-02-25
31 кб.
restoran_modif.php~
2021-01-14
30 кб.
restoran_sql.php
2022-02-25
26 кб.
restoran_sql.php~
2018-07-12
25 кб.
restoran_stat.php
2010-06-15
2 кб.
type.php
2010-07-07
3 кб.
url_migration.php
2017-08-15
2 кб.
user.php
2013-02-05
4 кб.
video.php
2014-12-05
4 кб.
video_modif.php
2011-11-15
5 кб.
video_sql.php
2011-11-15
4 кб.
/admin/restoran
Загрузить файлы
Файл 1
Файл 2
Файл 3