@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux www.thesweb.ru 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64
Current Path :
/
var
/
www
/
www-root
/
data
/
www
/
new.labinform.ru
/
lii_args
/
Path :
Upload File :
New :
File
Dir
/var/www/www-root/data/www/new.labinform.ru/lii_args/edit_rr_form.php
<? include_once "login.php"; if ($usr_id == -1) { header('HTTP/1.0 401 Unauthorized'); die(); } if ($_SESSION[LoginURI]['usertypeid'] == 30) { header('HTTP/1.0 401 Unauthorized'); die(); } if (isset($_GET['rrid'])) { $q = "SELECT rubricatorid, rubricatorstr, rubrdir FROM rubcator WHERE rubricatorid=" . $_GET['rrid']; $res = pg_query($conn, $q); if ($row = pg_fetch_array($res)) { $data = $row; } pg_free_result($res); } ?> <div class="dialogtext"> <table border="0" width="100%"> <tr><td width="50%"> <label for="nrubricatorid" class="label-top">Код:</label> <input id="nrubricatorid" class="easyui-textbox" data-options="<? echo isset($_GET['rrid'])?"value: " . $_GET['rrid'] . ", readonly: true": ""; ?>" style="width: 100px"> </td></tr> <tr><td> <label for="nrubricatorstr" class="label-top">Рубрикатор:</label> <input id="nrubricatorstr" class="easyui-textbox" style="width: 100%" data-options="required: true, tipPosition: 'top', missingMessage: 'Это поле необходимо заполнить', <? echo (isset($_GET['rrid']) ? "value: '" . str_replace('"', '"', $data['rubricatorstr']) . "'," : ""); ?> "> </td></tr> <tr><td> <? if (isset($_GET['rrid'])) { ?> <label for="nrubrdir" class="label-top">Путь на диске (устаревшее):</label> <input id="nrubrdir" class="easyui-textbox" style="width: 100%" data-options="readonly: true, <? echo "value: '" . str_replace('\\', '\\\\', $data['rubrdir']) . "',"; ?> "> <? } ?> </td></tr> </table> </div> <script type="text/javascript"> $(function () { $('#nrubricatorstr').textbox('textbox').attr('maxlength', 100); textbox_set_f9_conv('#nrubricatorstr'); }); </script>