本文整理汇总了PHP中Getdepartment函数的典型用法代码示例。如果您正苦于以下问题:PHP Getdepartment函数的具体用法?PHP Getdepartment怎么用?PHP Getdepartment使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Getdepartment函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetPage
//.........这里部分代码省略.........
</tr>
</table>
</fieldset>
<fieldset style="width:315px; float:left; margin-left: 10px;">
<legend>შედეგის კომენტარი <span style="color:red; font-weight: bold; font-size: 120%">*</span></legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><textarea style="width:317px; resize: none;" id="results_comment" class="idle" name="content" cols="300" >' . $res['results_comment'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width:557px; float:left;">
<legend>კომენტარი <span style="color:red; font-weight: bold; font-size: 120%">*</span></legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><textarea style="width: 750px; resize: none;" id="content" class="idle" name="content" cols="300" >' . $res['content'] . '</textarea></td>
</tr>
</table>
</fieldset>
';
$data .= '
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 280px;"><label for="d_number">დავალების ტიპი</label></td>
<td style="width: 280px;"><label for="d_number">სცენარი</label></td>
<td style="width: 280px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 280px;" id="task_type_change"><select style="width: 230px;" id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 280px;"><select style="width: 230px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td style="width: 280px;"><select style="width: 230px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
</tr>
<tr>
<td style="width: 150px;"><label for="content">კომენტარი</label></td>
<td style="width: 150px;"><label for="content"></label></td>
<td style="width: 150px;"><label for="content"></label></td>
</tr>
<tr>
<td colspan="6">
<textarea style="width: 747px; resize: none;" id="comment" class="idle" name="content" cols="300" rows="2">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</div>
<div>
</fieldset>
</div>
<div style="float: right; width: 355px;">
<fieldset>
<legend>მომართვის ავტორი <span style="color:red; font-weight: bold; font-size: 120%">*</span></legend>
<table style="height: 243px;">
<tr>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი</td>
<td style="width: 180px; color: #3C7FB1;">პირადი ნომერი</td>
</tr>
<tr>
<td>
<input type="text" id="personal_phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['personal_phone'] . '" />
</td>
<td style="width: 180px;">
<input type="text" id="personal_id" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['personal_id'] . '" />
示例2: GetPage
function GetPage($res = '', $number)
{
$c_date = date('Y-m-d H:i:s');
$num = 0;
if ($res[phone] == "") {
$num = $number;
} else {
$num = $res[phone];
}
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="საქონელი">
<!-- aJax -->
</div>
<div id="dialog-form">
<div style="float: left; width: 800px;">
<fieldset >
<fieldset style="width:300px; float:left;">
<legend>ძირითადი ინფორმაცია</legend>
<table width="500px" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="">მომართვა №</label></td>
<td style="width: 180px;"><label for="">თარიღი</label></td>
</tr>
<tr>
<td style="width: 180px;">
<input type="text" id="id" class="idle" onblur="this.className=\'idle\'" value="' . ($res['id'] != '' ? $res['id'] : increment('incomming_call')) . '" disabled="disabled" />
<input style="display:none;" type="text" id="h_id" class="idle" onblur="this.className=\'idle\'" value="' . $res['id'] . '" disabled="disabled" />
<input style="display:none;" type="text" id="miss_date" class="idle" onblur="this.className=\'idle\'" value="' . $_REQUEST['id'] . '" disabled="disabled" />
</td>
<td style="width: 180px;">
<input type="text" id="c_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField date\'" value="' . ($res['call_date'] != '' ? $res['call_date'] : $c_date) . '" disabled="disabled" />
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="phone">ტელეფონი</label></td>
<td><label for="person_name">აბონენტის სახელი</label></td>
</tr>
<tr>
<td style="width: 180px;">
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" value="' . $_REQUEST['num'] . '" disabled="disabled" />
</td>
<td style="width: 69px;">
<input type="text" id="person_name" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['first_name'] . '" />
</td>
</tr>
<tr>
<td>
<label for="source_id">არხი</label>
</td>
<td>
</td>
</tr>
<tr>
<td>
<select style="width: 165px;" id="source_id" class="idls object">' . Getsource($res['source_id']) . '</select>
</td>
<td style="width: 69px;">
<button id="button_calls" class="calls">ნომრები</button>
</td>
</tr>
</table>
</fieldset>
<fieldset style="width:220px; float:left; margin-left:10px; ">
<legend>მომართვის ავტორი</legend>
<table id="" class="dialog-form-table" width="220px">
<tr>
<td style="width: 220px;"><input style="float:left;" type="radio" name="x" value="1" ' . ($res['type_id'] == '1' ? "checked" : "") . '><span style="margin-top:5px; display:block;">ფიზიკური</span></td>
<td style="width: 220px;"><input style="float:left;" type="radio" name="x" value="2" ' . ($res['type_id'] == '2' ? "checked" : "") . '><span style="margin-top:5px; display:block;"">იურიდიული</span></td>
</tr>
</table>
</fieldset>
<fieldset style="width:220px; float:left; margin-left:10px; ">
<legend>ზარის ტიპი</legend>
<table id="" class="dialog-form-table" width="220px">
<tr>
<td style="width: 220px;"><input style="float:left;" type="radio" name="xx" value="1" ' . ($res['call_type_id'] == '1' ? "checked" : "") . '><span style="margin-top:5px; display:block;">ინფორმაცია</span></td>
<td style="width: 220px;"><input style="float:left;" type="radio" name="xx" value="2" ' . ($res['call_type_id'] == '2' ? "checked" : "") . '><span style="margin-top:5px; display:block;"">პრეტენზია</span></td>
</tr>
<tr>
<td style="width: 220px;"><input style="float:left;" type="radio" name="xx" value="3" ' . ($res['call_type_id'] == '3' ? "checked" : "") . '><span style="margin-top:5px; display:block;"">სხვა</span></td>
</tr>
</table>
</fieldset>
<fieldset style="width:220px; float:left; margin-left:10px; ">
<legend>განყოფილება</legend>
<table id="" class="dialog-form-table" width="220px">
<tr>
<td><select style="width: 220px;" id="department_id" class="idls object">' . Getdepartment($res['department_id']) . '</select></td>
</tr>
</table>
</fieldset>
<fieldset style="width:756px; float:left;">
<legend>ინფორმაცია</legend>
<table id="" class="dialog-form-table" width="500px">
<tr>
<td><label for="information_category_id">კატეგორია</label></td>
</tr>
//.........这里部分代码省略.........
示例3: GetPage
function GetPage($res = '', $number)
{
$num = 0;
$disabled = '';
$c_date = date('Y-m-d H:i:s');
$user = $_SESSION['USERID'];
if ($res[id] != '') {
$res_row = mysql_fetch_assoc(mysql_query("SELECT persons.department_id,\r\n \t users.group_id\r\n \t FROM users\r\n \t JOIN persons ON persons.id=users.person_id\r\n \t WHERE users.id={$user}"));
if ($res_row[department_id] != 1 && $res_row[department_id] != 5) {
$disabled = 'disabled="disabled"';
}
}
if ($res[date] == "") {
$date = $c_date;
} else {
$date = $res[date];
}
if ($res[date] == 0) {
$diss = '';
$diss1 = 'disabled="disabled"';
} else {
$diss = 'disabled="disabled"';
$diss1 = '';
}
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="საქონელი">
<!-- aJax -->
</div>
<div id="dialog-form">
<div style="float: left; width: 800px;">
<fieldset >
<legend>ძირითადი ინფორმაცია</legend>
<tr>
<label for="req_num">დამფორმირებელი</label>
<label for="req_num">:</label>
<label for="req_num">' . $res['operator'] . '</label>
</tr>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 100px;"><label for="req_num">მომართვა №</label></td>
<td style="width: 150px !important;"><label style="margin-left: -70px;" for="req_data">თარიღი</label></td>
<td style="width: 150px;"><label style="margin-left: -55px;" for="req_phone">ტელეფონი</label></td>
<td style="width: 180px;"><label style="margin-left: -50px;" for="req_phone">სახელი</label></td>
</tr>
<tr>
<td style="width: 100px;">
<input style="width: 75px;" type="text" id="task_id" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField user_id\'" value="' . $res['id'] . '" disabled="disabled" />
</td>
<td style="width: 150px;">
<input style="width: 130px; margin-left: -70px;" type="text" id="call_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField date\'" value="' . $date . '" disabled="disabled" />
</td>
<td style="width: 150px;">
<input style="width: 120px; margin-left: -55px;" type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone'] . '" ' . $diss . ' />
</td>
<td style="width: 200px;">
<input style="width: 200px; margin-left: -50px;" type="text" id="client_name" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['name'] . '" ' . $diss . '/>
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">ზარის სტატუსი</label></td>
<td colspan="3" style="width: 240px;"><label for="d_number">დავალების სტატუსი</label></td>
</tr>
<tr>
<td style="width: 180px;"><select style="width: 180px;" id="call_status" class="idls object" disabled="disabled">' . Getcall_status($res['call_status_id']) . '</select></td>
<td colspan="3" style="width: 240px;"><select style="width: 230px;" id="task_status" class="idls object" ' . $diss1 . '>' . status($res['status']) . '</select></td>
</tr>
<tr style="margin-top: 20px; margin-top=25px">
<td style="width: 180px;"><label for="content">დამატებითი ინფორმაცია</label></td>
</tr>
<tr>
<td colspan="6">
<div id="content">
<textarea style="width: 760px; resize: vertical; margin-top: 5px;" id="call_content" class="idle" name="call_content" cols="300" rows="2"' . $diss . '>' . $res['call_content'] . '</textarea>
</div>
</td>
</tr>
</table>
</fieldset >
</div>
<div style="float: left; width: 800px;">
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 240px;"><label for="d_number">დეპარტამენტი</label></td>
<td style="width: 240px;"><label for="d_number">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 240px;"><select style="width: 230px;" id="department_id" class="idls object" ' . $disabled . '>' . Getdepartment($res['department_id']) . '</select></td>
<td style="width: 240px;"><select style="width: 230px;" id="task_type_id" class="idls object" ' . $disabled . '>' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 180px;"><select style="width: 230px;" id="priority_id" class="idls object" ' . $disabled . '>' . Getpriority($res['priority_id']) . '</select></td>
</tr>
<tr>
<td style="width: 240px;"><label for="content">შინაარსი</label></td>
</tr>
<tr>
<td colspan="6">
//.........这里部分代码省略.........
示例4: GetPage
function GetPage($res = '')
{
$c_date = date('Y-m-d H:i:s');
$data .= '<div id="dialog-form">
<div style="float: left; width: 760px;">
<fieldset >
<legend>ძირითადი ინფორმაცია</legend>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="req_num">დავალების №</label></td>
<td style="width: 180px;"><label for="req_num">შექმნის თარიღი</label></td>
<td style="width: 180px;"><label for="req_data">შესრულების პერიოდი</label></td>
<td style="width: 180px;"><label for="req_phone"></label></td>
</tr>
<tr>
<td style="width: 150px;">
<input style="width: 150px;" type="text" id="id" class="idle" onblur="this.className=\'idle\'" value="' . ($res['id'] != '' ? $res['id'] : increment('task')) . '" />
</td>
<td style="width: 150px;">
<input style="width: 150px;" type="text" id="cur_date" class="idle" onblur="this.className=\'idle\'" value="' . ($res['date'] != '' ? $res['date'] : $c_date) . '" />
</td>
<td style="width: 200px;">
<input style="float:left;" type="text" id="done_start_time" class="idle" onblur="this.className=\'idle\'" value="' . $res['start_date'] . '" /><span style="float:left; margin-top:5px;">-დან</span>
</td>
<td style="width: 200px;">
<input style="float:left;" type="text" id="done_end_time" class="idle" onblur="this.className=\'idle\'" value="' . $res['end_date'] . '" /><span style="float:left; margin-top:5px;">-მდე</span>
</td>
</tr>
</table>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 220px;">დავალების ტიპი</select></td>
<td style="width: 220px;">ქვე-განყოფილება</select></td>
<td style="width: 220px;">პრიორიტეტი</select></td>
</tr>
<tr>
<td style="width: 220px;"><select style="width: 220px;" id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 220px;"><select style="width: 220px;" id="task_department_id" class="idls object">' . Getdepartment($res['department_id']) . '</select></td>
<td style="width: 220px;"><select style="width: 217px;" id="priority_id" class="idls object">' . Getpersons($res['priority_id']) . '</select></td>
</tr>
</table>
<table width="100%" class="dialog-form-table" id="task_comment_table">
<tr>
<td style="width: 220px;">დავალების შინაარსი</td>
</tr>
<tr>
<td><textarea style="width: 99%; resize: none; height: 50px;" id="task_comment" class="idle" name="task_comment" cols="300" >' . $res['comment'] . '</textarea></td>
</tr>
</table>
</fieldset>';
//if (Gettask_type($res['task_type_id']) == 1 && Gettask_type($res['task_type_id']) == 2) {
$data .= '<fieldset id="additional" class="hidden">
<legend>კლიენტთა ბაზა</legend>
<table width="100%" class="dialog-form-table">
<tr>
<td>სცენარი</td>
<!--td style="text-align: right;">ფაილის ატვირთვა</td-->
<td style="text-align: right;">სატელეფონო ბაზა</td>
</tr>
<tr>
<td style="width: 200px;"><select style="width: 200px;" id="template_id" class="idls object">' . Getscenar($res['template_id']) . '</select></td>
<!--td style="width: 100px;">
<div class="file-uploader">
<input id="choose_file" type="file" name="choose_file" class="input" style="display: none;">
<button style="margin-right: 0px !important;" id="choose_button" class="center">აირჩიეთ ფაილი</button>
</div>
</td-->
<td style="width: 100px;"><button style="margin-right: 0px !important;" id="choose_base" class="center">აირჩიეთ ბაზა</button> </td>
</tr>
</table>
<div id="dt_example" class="inner-table">
<div style="width:100%;" id="container" >
<div id="dynamic">
<div id="button_area">
<!--button id="add_button_pp">დამატება</button-->
</div>
<table class="" id="example4" style="width: 100%;">
<thead>
<tr id="datatable_header">
<th style="display:none">ID</th>
<th style="width:4%;">#</th>
<th style="width:%; word-break:break-all;">პირადი №<br>საიდ. კოდი</th>
<th style="width:%; word-break:break-all;">დასახელება</th>
<th style="width:%; word-break:break-all;">ფიზ / იურ.<br> პირი</th>
<th style="width:%; word-break:break-all;">ტელეფონი</th>
<th style="width:%; word-break:break-all;">ელ-ფოსტა</th>
<th style="width:%; word-break:break-all;">მისამართი</th>
</tr>
</thead>
<thead>
<tr class="search_header">
<th class="colum_hidden">
<input type="text" name="search_id" value="" class="search_init" style="width: 10px"/>
</th>
<th>
<input style="width:100px;" type="text" name="search_overhead" value="ფილტრი" class="search_init" />
//.........这里部分代码省略.........
示例5: GetPage
//.........这里部分代码省略.........
<td>საფოსტო კოდი</td>
<td>
<input type="text" id="id" class="idle" onblur="this.className=\'idle\'" value="' . $res['id'] . '" />
</td>
<td>საფოსტო კოდი</td>
<td>
<input type="text" id="id" class="idle" onblur="this.className=\'idle\'" value="' . $res['id'] . '" />
</td>
</tr>
<tr>
<td></td>
<td></td>
<td>კოპირება</td>
<td>
<input type="checkbox" value="">
</td>
</tr>
</table>
</fieldset>
';
$data .= '
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="d_number">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="d_number">სცენარი</label></td>
<td style="width: 180px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 180px;" id="task_type_change"><select id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 180px;"><select id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td style="width: 180px;"><select id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
</tr>
<tr>
<td style="width: 150px;"><label for="content">კომენტარი</label></td>
<td style="width: 150px;"><label for="content"></label></td>
<td style="width: 150px;"><label for="content"></label></td>
</tr>
<tr>
<td colspan="6">
<textarea style="width: 627px; height: 80px; resize: none;" id="comment" class="idle" name="content" cols="300" rows="2">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</div>
<div>
</fieldset>
</div>
<div style="float: right; width: 450px;">
<fieldset>
<legend>საჩუქრები</legend>
<div id="dt_example" class="inner-table">
<div style="width:440px;" id="container" >
<div id="dynamic">
<div id="button_area">
<button id="add_button_p">დამატება</button>
</div>
<table class="" id="examplee" style="width: 100%;">
<thead>
<tr id="datatable_header">
<th style="display:none">ID</th>
示例6: switch
<?php
require_once '../../includes/classes/core.php';
$action = $_REQUEST['act'];
$error = '';
$data = '';
switch ($action) {
case 'get_add_page':
$page = GetPage();
$data = array('page' => $page);
break;
case 'get_edit_page':
$departmetn_id = $_REQUEST['id'];
$page = GetPage(Getdepartment($departmetn_id));
$data = array('page' => $page);
break;
case 'get_list':
$count = $_REQUEST['count'];
$hidden = $_REQUEST['hidden'];
$rResult = mysql_query("SELECT \tdepartment.id,\r\n\t\t department.id,\r\n\t\t\t\t\t\t\t\t\t\tdepartment.`name`\r\n\t\t\t\t\t\t\t FROM \tdepartment\r\n\t\t\t\t\t\t\t WHERE \tdepartment.actived=1");
$data = array("aaData" => array());
while ($aRow = mysql_fetch_array($rResult)) {
$row = array();
for ($i = 0; $i < $count; $i++) {
/* General output */
$row[] = $aRow[$i];
if ($i == $count - 1) {
$row[] = '<div class="callapp_checkbox">
<input type="checkbox" id="callapp_checkbox_' . $aRow[$hidden] . '" name="check_' . $aRow[$hidden] . '" value="' . $aRow[$hidden] . '" class="check" />
<label for="callapp_checkbox_' . $aRow[$hidden] . '"></label>
</div>';
示例7: GetPage
function GetPage($res = '')
{
$data .= '<div id="dialog-form">
<div style="float: left; width: 760px;">
<fieldset >
<legend>დავალება</legend>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="req_num">დავალების №</label></td>
<td style="width: 180px;"><label for="req_num">შექმნის თარიღი</label></td>
<td style="width: 180px;"><label for="req_data">შესრულების პერიოდი</label></td>
<td style="width: 180px;"><label for="req_phone"></label></td>
</tr>
<tr>
<td style="width: 150px;">
<input style="width: 150px;" disabled type="text" id="id_my_task" class="idle" onblur="this.className=\'idle\'" value="' . $res['id'] . '" />
</td>
<td style="width: 150px;">
<input style="width: 150px;" disabled type="text" id="cur_date" class="idle" onblur="this.className=\'idle\'" value="' . $res['date'] . '" />
</td>
<td style="width: 200px;">
<input style="float:left;" disabled type="text" id="done_start_time" class="idle" onblur="this.className=\'idle\'" value="' . $res['start_date'] . '" /><span style="float:left; margin-top:5px;">-დან</span>
</td>
<td style="width: 200px;">
<input style="float:left;" disabled type="text" id="done_end_time" class="idle" onblur="this.className=\'idle\'" value="' . $res['end_date'] . '" /><span style="float:left; margin-top:5px;">-მდე</span>
</td>
</tr>
</table>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 220px;">დავალების ტიპი</select></td>
<td style="width: 220px;">ქვე-განყოფილება</select></td>
<td style="width: 220px;">პრიორიტეტი</select></td>
</tr>
<tr>
<td style="width: 220px;"><select style="width: 220px;" disabled id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 220px;"><select style="width: 220px;" disabled id="task_department_id" class="idls object">' . Getdepartment($res['department_id']) . '</select></td>
<td style="width: 220px;"><select style="width: 217px;" disabled id="priority_id" class="idls object">' . Getprio($res['priority_id']) . '</select></td>
</tr>
</table>
<table width="100%" class="dialog-form-table" id="task_comment_table">
<tr>
<td style="width: 220px;">დავალების შინაარსი</td>
</tr>
<tr>
<td><textarea disabled style="width: 99%; resize: vertical; height: 70px;" id="task_comment" class="idle" name="task_comment" cols="300" >' . $res['comment'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>შესრულება</legend>
<table width="100%" class="dialog-form-table" id="">
<tr>
<td style="width: 220px;">სტატუსი</td>
<td style="width: 220px;">კომენტარი</td>
</tr>
<tr>
<td style="width: 220px;"><select style="width: 217px;" id="status_id" class="idls object">' . Getstatus($res['status'], $res['user_id']) . '</select></td>
<td><textarea style="width: 98%; resize: vertical; height: 70px;" id="problem_comment" class="idle" name="problem_comment" cols="300" >' . $res['problem_comment'] . '</textarea></td>
</tr>
</table>
</fieldset>
</table>
</fieldset>
</div>';
if ($res['outgoing_id'] != '') {
$data .= '<div style="float: right; width: 355px;">
<fieldset id="open_out">
<legend>აბონენტი</legend>
<table style="height: 243px;">
<tr>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 1</td>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 2</td>
</tr>
<tr>
<td>
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone1'] . '" />
</td>
<td>
<input type="text" id="phone1" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone2'] . '" />
</td>
</tr>
<tr>
<td style="width: 180px; color: #3C7FB1;">სახელი</td>
<td style="width: 180px; color: #3C7FB1;">ელ-ფოსტა</td>
</tr>
<tr >
<td style="width: 180px;">
<input type="text" id="first_name" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['first_last_name'] . '" />
</td>
<td style="width: 180px;">
<input type="text" id="mail" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['mail'] . '" />
</td>
//.........这里部分代码省略.........
示例8: GetPage
//.........这里部分代码省略.........
</div>';
$data .= '</div>';
// სატელეფონო კვლევა დასასრული
$data .= '<fieldset style="width:350px;; float:left;">
<legend>ზარის დაზუსტება</legend>
<table class="dialog-form-table">
<tr>
<td><textarea style="width: 350px; height:70px; resize: none;" id="call_content" class="idle" name="content" cols="300" >' . $res['content'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width:300px;; float:left; margin-left:10px; max-height:90px;">
<legend>სტატუსი</legend>
<table class="dialog-form-table" style="height: 80px;">
<tr>
<td></td>
</tr>
<tr>
<td><select style="width: 330px;" id="status" class="idls object">' . Getstatus($res['status']) . '</select></td>
</tr>
</table>
</fieldset>
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table" >
<tr>
<td style="width: 280px;"><label for="task_department_id">განყოფილება</label></td>
<td style="width: 280px;"><label for="persons_id">პასუხისმგებელი პირი</label></td>
<td style="width: 280px;"><label for="priority_id">პრიორიტეტი</label></td>
</tr>
<tr>
<td><select style="width: 200px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td><select style="width: 200px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
<td><select style="width: 200px;" id="priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
</table>
<table class="dialog-form-table" style="width: 720px;">
<tr>
<td style="width: 150px;"><label>შესრულების პერიოდი</label></td>
<td style="width: 150px;"><label></label></td>
<td style="width: 150px;"><label>კომენტარი</label></td>
</tr>
<tr>
<td><input style="width: 130px; float:left;" class="idle" type="text"><span style="margin-left:5px; ">დან</span></td>
<td><input style="width: 130px; float:left;" class="idle" type="text"><span style="margin-left:5px; ">მდე</span></td>
<td>
<textarea style="width: 270px; resize: none;" id="comment" class="idle" name="content" cols="300">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</fieldset>
</div>';
$data .= '<div style="float: right; width: 355px;">
<fieldset>
<legend>სასარგებლო ბმულები</legend>
<table>
<tr>
<td style="width:90px; height:60px;"><a id="link1" target="_blank" href="http://www.biblusi.ge/"></a></td>
<td style="width:90px; height:60px;"><a id="link2" target="_blank" href="http://www.palitral.ge/"></a></td>
<td style="width:90px; height:60px;"><a id="link3" target="_blank" href="http://palitra.ge/"></a></td>
<td style="width:60px; height:60px;"><a id="link4" target="_blank" href="http://www.salesland.ge/"></a></td>
</tr>
</table>
示例9: GetPage
//.........这里部分代码省略.........
<tr>
<td style="width: 180px;">
<input style="width: 180px;" type="text" id="call_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField date\'" value="' . $date . '" disabled="disabled" />
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="req_phone">ტელეფონი</label></td>
</tr>
<tr>
<td style="width: 150px;">
<input style="width: 180px;" type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone'] . '" ' . $disable . ' />
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="req_phone">სახელი</label></td>
</tr>
<tr>
<td style="width: 180px;">
<input style="width: 180px;" type="text" id="client_name" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['name'] . '" ' . $disable . ' />
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">ზარის სტატუსი</label></td>
</tr>
<tr>
<td style="width: 180px;"><select style="width: 180px;" id="call_status" class="idls object" ' . $disable . '>' . Getcall_status($res['call_status_id']) . '</select></td>
</tr>
<tr style="margin-top: 20px; margin-top=25px">
<td style="width: 180px;"><label for="content">დამატებითი ინფორმაცია</label></td>
</tr>
<tr>
<td colspan="5">
<div id="content">
<textarea style="width: 180px; resize: vertical; margin-top: 5px;" id="call_content" class="idle" name="call_content" cols="300" rows="2" ' . $disable . '>' . $res['call_content'] . '</textarea>
</div>
</td>
</tr>
</table>
</fieldset>
<fieldset style="margin-top: 5px; width: 190px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr style="display: none">
<td style="width: 180px; display: none"><label for="d_number">პასუხისმგებელი პირი</label></td>
</tr>
<tr style="display: none">
<td style="width: 180px; display: none"><select style="width: 180px;" id="persons_id" class="idls object" ' . $disable . '>' . Getpersons($res['responsible_user_id']) . '</select></td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">დეპარტამენტი</label></td>
</tr>
<tr>
<td style="width: 180px;"><select style="width: 180px;" id="department_id" class="idls object" ' . $disable . '>' . Getdepartment($res['department_id']) . '</select></td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">დავალების ტიპი</label></td>
</tr>
<tr>
<td style="width: 180px;"><select style="width: 180px;" id="task_type_id" class="idls object" ' . $disable . '>' . Gettask_type($res['task_type_id']) . '</select></td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 180px;"><select style="width: 180px;" id="priority_id" class="idls object" ' . $disable . '>' . Getpriority($res['priority_id']) . '</select></td>
</tr>
<tr style="display: none">
<td style="width: 180px;"><label for="d_number">სხვა ნომერი</label></td>
</tr>
<tr>
<td style="width: 180px;"><label for="content">შინაარსი</label></td>
</tr>
<tr>
<td>
<textarea style="width: 180px; resize: vertical;" id="problem_coment" class="idle" name="call_content" cols="300" rows="2" ' . $disable . '>' . $res['problem_comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</td>
<td>
<fieldset id="search" style="float: right; margin-top: 7px; margin-top: 62px;">
</fieldset>
</td>
<td style="vertical-align: top;">';
$data .= '</div><div id="chanawerebi" style="float: right; width: 195px;">';
$data .= GetRecordingsSection($res);
$data .= '</div>
</td>
</tr>
</table>
<input id="hidden_user" type="text" value="' . $res['user_id'] . '" style="display: none;">
<input id="asterisk_incomming_id" type="text" value="' . $res['asterisk_incomming_id'] . '" style="display: none;">
<input id="inc_id" type="text" value="' . $res['id'] . '" style="display: none;">
</div>';
return $data;
}
示例10: GetPage
//.........这里部分代码省略.........
<hr><br></div>';
}
$data .= '<button id="back_quest" back_id="0" style="float:left;">უკან</button><button id="next_quest" style="float:right;" next_id="0">წინ</button></fieldset>
</div>';
$data .= '<fieldset style="width:350px;; float:left;">
<legend>ზარის დაზუსტება</legend>
<table class="dialog-form-table">
<tr>
<td><textarea style="width: 350px; height:70px; resize: none;" id="call_content" class="idle" name="content" cols="300" >' . $res['call_content'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width:300px; float:left; margin-left:10px; max-height:90px;">
<legend>სტატუსი</legend>
<table class="dialog-form-table" style="height: 80px;">
<tr>
<td></td>
</tr>
<tr>
<td><select style="width: 328px;" id="status" class="idls object">' . Getstatus($res['status']) . '</select></td>
</tr>
</table>
</fieldset>
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table" >
<tr>
<td style="width: 280px;"><label for="set_task_department_id">განყოფილება</label></td>
<td style="width: 280px;"><label for="set_persons_id">პასუხისმგებელი პირი</label></td>
<td style="width: 280px;"><label for="set_priority_id">პრიორიტეტი</label></td>
</tr>
<tr>
<td><select style="width: 200px;" id="set_task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td><select style="width: 200px;" id="set_persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
<td><select style="width: 200px;" id="set_priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
</table>
<table class="dialog-form-table" style="width: 720px;">
<tr>
<td style="width: 150px;"><label>შესრულების პერიოდი</label></td>
<td style="width: 150px;"><label></label></td>
<td style="width: 150px;"><label>კომენტარი</label></td>
</tr>
<tr>
<td><input style="width: 130px; float:left;" id="set_start_time" class="idle" type="text"><span style="margin-left:5px; ">დან</span></td>
<td><input style="width: 130px; float:left;" id="set_done_time" class="idle" type="text"><span style="margin-left:5px; ">მდე</span></td>
<td>
<textarea style="width: 270px; resize: none;" id="set_body" class="idle" name="content" cols="300">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</fieldset>
</div>';
$data .= '<div style="float: right; width: 355px;">
<fieldset>
<legend>აბონენტი</legend>
<table style="height: 243px;">
<tr>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 1</td>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 2</td>
</tr>
<tr>
<td>
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone'] . '" />
示例11: GetPage
function GetPage($res = '')
{
$image = $res['image'];
if (empty($image)) {
$image = '0.jpg';
}
$user = $_SESSION['USERID'];
$diss = '';
if ($user != 1) {
$diss = 'disabled="disabled"';
}
$data = '
<div id="dialog-form">
<fieldset>
<legend>ძირითადი ინფორმაცია</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 280px;"><label for="name">სახელი, გვარი</label></td>
<td>
<input style="width: 278px;" type="text" id="name" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['name'] . '" />
</td>
</tr>
<tr>
<td style="width: 170px;"><label for="tin">პირადი ნომერი</label></td>
<td>
<input style="width: 130px !important;" type="text" id="tin" class="idle user_id" onblur="this.className=\'idle user_id\'" onfocus="this.className=\'activeField user_id\'" value="' . $res['tin'] . '" />
</td>
</tr>
<tr>
<td style="width: 170px;"><label for="tin">დეპარტამენტი</label></td>
<td>
<select style="width: 231px;" id="department_id" >' . Getdepartment($res['department_id']) . '</select>
</td>
</tr>
<tr>
<td style="width: 170px;"><label for="comment">შენიშვნა: </label></td>
<td valign="top">
<textarea id="comment" class="idle large" cols="40" rows="4" style="width: 278px !important">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
<!-- ID -->
<div id="accordion">
<h3>მომხმარებელი</h3>
<div>
<div>
<div style="width: 170px; display: inline;"><label for="user">მომხმარებელი :</label>
<input type="text" id="user" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['username'] . '" style="display: inline; margin-left: 42px; width: 159px;"/>
</div>
</div>
<div style=" margin-top: 2px; ">
<div style="width: 170px; display: inline;"><label for="user_password">პაროლი :</label>
<input type="password" id="user_password" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="" checker = "' . $res['user_password'] . '" style="display: inline; margin-left: 82px;"/>
</div>
</div>
<div style=" margin-top: 2px; ">
<div style="width: 170px; display: inline; margin-top: 5px;"><label for="group_permission">ჯგუფი :</label>
<select id="group_permission" class="idls" style="display: inline; margin-left: 97px;">' . GetGroupPermission($res['group_id']) . '</select>
</div>
</div>
<div style=" margin-top: 2px; ">
<button id="add_group" style="outline:none; float: right; margin-right: 20px;" ' . $diss . '>ჯგუფის დამატება</button>
</div>
</div>
</div>
</fieldset>
<fieldset>
<legend>თანამშრომლის სურათი</legend>
<table class="dialog-form-table" width="100%">
<tr>
<td id="img_colum" colspan="2">
<img id="upload_img" src="media/uploads/images/worker/' . $image . '">
</td>
</tr>
<tr><!-- Upload Image -->
<td id="act">
<span>
<a href="#" id="view_image" class="complate">View</a> | <a href="#" id="delete_image" class="delete">Delete</a>
</span>
</td>
<td>
<div class="file-uploader">
<input id="choose_file" type="file" name="choose_file" class="input" style="display: none;">
<button id="choose_button" class="center">აირჩიეთ ფაილი</button>
</div>
</td>
</tr>
</table>
</fieldset>
<input type="hidden" id="pers_id" value="' . $res['id'] . '" />
<input type="hidden" id="is_user" value="' . false . '" />
</div>
';
return $data;
}
示例12: GetPage
//.........这里部分代码省略.........
</fieldset>
</div>';
}
$data .= '<fieldset style="width:350px;; float:left;">
<legend>ზარის დაზუსტება</legend>
<table class="dialog-form-table">
<tr>
<td><textarea style="width: 350px; height:70px; resize: none;" id="call_content" class="idle" name="content" cols="300" >' . $res['call_content'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width:300px; float:left; margin-left:10px; max-height:90px;">
<legend>სტატუსი</legend>
<table class="dialog-form-table" style="height: 80px;">
<tr>
<td></td>
</tr>
<tr>
<td><select style="width: 328px;" id="status" class="idls object">' . Getstatus($res['status']) . '</select></td>
</tr>
</table>
</fieldset>
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table" >
<tr>
<td style="width: 280px;"><label for="set_task_department_id">განყოფილება</label></td>
<td style="width: 280px;"><label for="set_persons_id">პასუხისმგებელი პირი</label></td>
<td style="width: 280px;"><label for="set_priority_id">პრიორიტეტი</label></td>
</tr>
<tr>
<td><select style="width: 200px;" id="set_task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td><select style="width: 200px;" id="set_persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
<td><select style="width: 200px;" id="set_priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
</table>
<table class="dialog-form-table" style="width: 720px;">
<tr>
<td style="width: 150px;"><label>შესრულების პერიოდი</label></td>
<td style="width: 150px;"><label></label></td>
<td style="width: 150px;"><label>კომენტარი</label></td>
</tr>
<tr>
<td><input style="width: 130px; float:left;" id="set_start_time" class="idle" type="text"><span style="margin-left:5px; ">დან</span></td>
<td><input style="width: 130px; float:left;" id="set_done_time" class="idle" type="text"><span style="margin-left:5px; ">მდე</span></td>
<td>
<textarea style="width: 270px; resize: none;" id="set_body" class="idle" name="content" cols="300">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
</fieldset>
</div>';
$data .= '<div style="float: right; width: 355px;">
<fieldset>
<legend>აბონენტი</legend>
<table style="height: 243px;">
<tr>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 1</td>
<td style="width: 180px; color: #3C7FB1;">ტელეფონი 2</td>
</tr>
<tr>
<td>
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['phone'] . '" />
示例13: GetPage
function GetPage($res = '', $number)
{
$num = 0;
if ($res[phone] == "") {
$num = $number;
} else {
$num = $res[phone];
}
$increm = mysql_query("\tSELECT `name`,\r\n\t\t\t`rand_name`,\r\n\t\t\tid\r\n\t\t\tFROM \t`file`\r\n\t\t\tWHERE `action_id` = {$res['id']}\r\n\t\t\t");
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="აქცია">
<!-- aJax -->
</div>
<div id="dialog-form">
<div style="float: left; width: 580px;">
<fieldset >
<legend>ინფო</legend>
<fieldset float:left;">
<table width="100%" class="dialog-form-table">
<tr>
<td>დასახელება</td>
<td style="width:20px;></td>
<td colspan "5">
<input type="text" id="action_name" class="idle" onblur="this.className=\'idle\'" value="' . $res['action_name'] . '" />
</td>
</tr>
<tr>
<td style="width: 150px;"><label for="d_number">პერიოდი</label></td>
<td>
<input type="text" id="start_date" class="idle" onblur="this.className=\'idle\'" value="' . $res['start_date'] . '" />
</td>
<td style="width: 150px;"><label for="d_number">-დან</label></td>
<td>
<input type="text" id="end_date" class="idle" onblur="this.className=\'idle\'" value="' . $res['end_date'] . '" />
</td>
<td style="width: 150px;"><label for="d_number">-მდე</label></td>
</tr>
</table>
</fieldset>
<fieldset style="float: left; width: 400px;">
<legend>აღწერა</legend>
<table width="100%" class="dialog-form-table">
<tr>
<td colspan="5">
<textarea style="width: 530px; height: 100px; resize: none;" id="action_content" class="idle" name="content" cols="100" rows="2">' . $res['action_content'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
<!--fieldset>
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="d_number">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="d_number">სცენარი</label></td>
<td style="width: 180px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 180px;" id="task_type_change"><select id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 180px;"><select id="task_department_id" class="idls object">' . Getdepartment($res['department_id']) . '</select></td>
<td style="width: 180px;"><select id="persons_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
<tr>
<td style="width: 150px;"><label for="content">კომენტარი</label></td>
<td style="width: 150px;"><label for="content"></label></td>
<td style="width: 150px;"><label for="content"></label></td>
</tr>
<tr>
<td colspan="6">
<textarea style="width: 530px; height: 80px; resize: none;" id="comment" class="idle" name="content" cols="100" rows="2">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset-->
</div>
<div style="float: right; width: 360px;">
</fieldset>
<fieldset style="float: right; width: 440px;">
<legend>განყოფილებები</legend>
<div id="dt_example" class="inner-table">
<div style="width:440px;" id="container" >
<div id="dynamic">
<div id="button_area">
<button id="add_button_pp">დამატება</button>
</div>
<table class="" id="example4" style="width: 100%;">
<thead>
<tr id="datatable_header">
<th style="display:none">ID</th>
<th style="width:4%;">#</th>
<th style="width:25%; word-break:break-all;">ფილიალი</th>
<th style="width:20%; word-break:break-all;">მისამართი</th>
//.........这里部分代码省略.........
示例14: GetPage
function GetPage($res = '', $number)
{
$num = 0;
if ($res[phone] == "") {
$num = $number;
} else {
$num = $res[phone];
}
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="აქცია">
<!-- aJax -->
</div>
<div id="dialog-form">
<div style="float: left; width: 580px;">
<fieldset >
<legend>ინფო</legend>
<fieldset float:left;">
<table width="100%" class="dialog-form-table">
<tr>
<td>დასახელება</td>
<td style="width:20px;></td>
<td colspan "5">
<input type="text" id="action_name" class="idle" onblur="this.className=\'idle\'" value="' . $res['action_name'] . '" />
</td>
</tr>
<tr>
<td style="width: 150px;"><label for="d_number">პერიოდი</label></td>
<td>
<input type="text" id="start_date" class="idle" onblur="this.className=\'idle\'" value="' . $res['start_date'] . '" />
</td>
<td style="width: 150px;"><label for="d_number">-დან</label></td>
<td>
<input type="text" id="end_date" class="idle" onblur="this.className=\'idle\'" value="' . $res['end_date'] . '" />
</td>
<td style="width: 150px;"><label for="d_number">-მდე</label></td>
</tr>
</table>
</fieldset>
<fieldset style="float: left; width: 400px;">
<legend>აღწერა</legend>
<table width="100%" class="dialog-form-table">
<tr>
<td colspan="5">
<textarea style="width: 530px; height: 100px; resize: none;" id="action_content" class="idle" name="content" cols="100" rows="2">' . $res['action_content'] . '</textarea>
</td>
</tr>
</table>
</fieldset>
<!--fieldset>
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="d_number">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="d_number">სცენარი</label></td>
<td style="width: 180px;"><label for="d_number">პრიორიტეტი</label></td>
</tr>
<tr>
<td style="width: 180px;" id="task_type_change"><select id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 180px;"><select id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td style="width: 180px;"><select id="persons_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
<tr>
<td style="width: 150px;"><label for="content">კომენტარი</label></td>
<td style="width: 150px;"><label for="content"></label></td>
<td style="width: 150px;"><label for="content"></label></td>
</tr>
<tr>
<td colspan="6">
<textarea style="width: 530px; height: 80px; resize: none;" id="comment" class="idle" name="content" cols="100" rows="2">' . $res['comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset-->
</div>
<div style="float: right; width: 360px;">
</fieldset>
<fieldset style="float: right; width: 440px;">
<legend>განყოფილებები</legend>
<div id="dt_example" class="inner-table">
<div style="width:440px;" id="container" >
<div id="dynamic">
<div id="button_area">
<button id="" style="display:none;">დამატება</button>
</div>
<table class="" id="example6" style="width: 100%;">
<thead>
<tr id="datatable_header">
<th style="display:none">ID</th>
<th style="width:4%;">#</th>
<th style="width:25%; word-break:break-all;">ფილიალი</th>
<th style="width:20%; word-break:break-all;">მისამართი</th>
</tr>
//.........这里部分代码省略.........
示例15: GetPage
//.........这里部分代码省略.........
<td style="width: 215px;"><label for="d_number" id="card_label">ბარათის ტიპი</label></td>
<td style="width: 215px;"></td>
<td style="width: 215px;"></td>
</tr>
<tr id="d">
<td style="width: 215px;"><select style="width: 186px;" id="card_type_id" class="idls object">' . Getcard_type($res['card_type_id']) . '</select></td>
<td style="width: 215px;"></td>
<td style="width: 215px;"></td>
</tr>
</table>
<table id="additiona2" class="dialog-form-table" width="100%">
<tr>
<td style="width: 215px;"><label for="req_num">პრობლემის თარიღი</label></td>
<td style="width: 215px;"><label for="d_number">სტატუსი</label></td>
<td style="width: 215px;"><label for="d_number">ობიექტი</label></td>
</tr>
<tr>
<td style="width: 215px;">
<input style="width: 180px;" type="text" id="problem_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res[problem_date] . '"" />
</td>
<td style="width: 215px;"><select style="width: 186px;" id="call_status_id" class="idls object">' . Getcall_status($res['call_status_id']) . '</select></td>
<td style="width: 215px;"><select style="width: 186px;" id="object_id" class="idls object">' . Getobject($res['object_id']) . '</select></td>
</tr>
<tr>
<td style="width: 215px;"><label for="task_type_id">დავალების ტიპი</label></td>
<td style="width: 215px;"><label for="task_department_id">განყოფილება</label></td>
<td style="width: 215px;"><label for="persons_id">პასუხისმგებელი პირი</label></td>
</tr>
<tr>
<td style="width: 215px;"><select style="width: 186px;" id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 215px;"><select style="width: 186px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td style="width: 215px;"><select style="width: 186px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
</tr>
<tr>
<td style="width: 215px;"><label for="task_type_id">ინფორმაციის წყარო</label></td>
<td style="width: 215px;"><label id="pr" class="hidden" for="d_number">პრიორიტეტები</label></td>
<td style="width: 215px;"></td>
</tr>
<tr>
<td style="width: 215px;"><select style="width: 186px;" id="source" class="idls object">' . Getsource($res['source']) . '</select></td>
<td style="width: 215px;"><label class="hidden" id="priority"><select id="priority_id" class="idls" >' . Getpriority($res['priority_id']) . '</label></select></td>
<td style="width: 215px;"></td>
</tr>
</table>
<table id="additiona1" class="hidden dialog-form-table" width="100%">
<tr>
<td style="width: 215px;"><label for="req_num">შესრ.პერ.დასაწყისი</label></td>
<td style="width: 215px !important;"><label for="req_data">შესრ.პერ.დასასრული</label></td>
<td style="width: 215px;"><label for="req_phone">შესრულების დრო</label></td>
</tr>
<tr>
<td style="width: 215px;">
<input type="text" id="planned_date" style="width: 180px;" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['planned_end_date'] . '" />
</td>
<td style="width: 215px;">
<input type="text" id="fact_end_date" style="width: 180px;" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['call_date'] . '"/>
</td>
<td style="width: 215px;">
<input type="text" id="call_duration" style="width: 180px;" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $num . '" />
</td>
</tr>