echo "</td>"; echo "</tr>"; //------------------------------------ echo "<tr>"; echo "<td class='left'>Заказчик</td>"; echo "<td class='right'>"; echo "<input type='text' name='client' id='client' value='" . $item['title'] . "'>"; echo "</td>"; echo "</tr>"; //------------------------------------ echo "<tr>"; echo "<td class='left'>Описание</td>"; echo "<td class='right'>"; $editorClass = new editorClass(); $description = $editorClass->replaceToDraw($item['description']); $editorClass->drawEditor('description', $description); echo "</td>"; echo "</tr>"; //------------------------------------ echo "<tr>"; echo "<td class='left'> </td>"; echo "<td class='right'>"; echo "<span id='progress-form'></span>"; echo "</td>"; echo "</tr>"; //------------------------------------ echo "<tr>"; echo "<td class='left'> </td>"; echo "<td class='right'>"; echo "<input type='hidden' name='id' value='" . $item['id'] . "'>"; echo "<input type='submit' value='Сохранить данные'>";
} else { $ckecked = '<input type="checkbox" id="first_' . $val['id'] . '" name="first_' . $val['id'] . '" title="Поставить первой" >'; } print '<div style="float:left;margin:0 7px 7px 0;"><img src="../../../img/photos/1000/' . $val['file_name'] . '.jpg" style="float:left;width:150px;height:100px;"> <div style="float:left;width:15px;"><a href="#" id="del_photo" data-id="' . $val['id'] . '" style=""><img src="img/b_drop.png" title="удалить"/></a>' . $ckecked . '</div></div>'; } } echo "</div>"; } } else { $disable_select_pomesh = "disabled='disabled'"; echo "<div class='float_left preview_text'>Описание:</div>"; echo "<div class='float_left' style='width:600px;'>"; $editorClass = new editorClass(); $description = $editorClass->replaceToDraw(''); $editorClass->drawEditor('description', $description, 'disabled="disabled"'); echo "</div>"; echo "<div class='clear'></div>"; echo "<div class='preview_text' style='text-decoration:underline;'>РУКОВОДИТЕЛЯМ</div>"; echo "<div class='clear'></div>"; echo "<div class='float_left preview_text'>Стоимость:</div>"; echo "<input class='float_left' style='width:600px;' input type='text' " . $disable_select_pomesh . " name='price' id='price' " . $disable_select_pomesh . " value=''>"; echo "<div class='float_left' style='line-height:25px;' >грн.кв.м</div>"; ////discount echo "<div class='float_left preview_text'>Скидка:</div>"; echo "<input class='float_left' style='width:600px;' input type='text' name='discount' id='discount' " . $disable_select_pomesh . " value=''>"; echo "<div class='float_left' style='line-height:25px;' > %</div>"; echo "<div class='clear'></div>"; echo "<div class='float_left preview_text'>Фирма орендатора:</div>"; echo "<div class='float_left' style='line-height:25px;'></div>"; echo "<div class='clear'></div>";