本文整理汇总了PHP中Getcall_status函数的典型用法代码示例。如果您正苦于以下问题:PHP Getcall_status函数的具体用法?PHP Getcall_status怎么用?PHP Getcall_status使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Getcall_status函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetPage
//.........这里部分代码省略.........
</table>
</fieldset>
<fieldset style="width:756px; float:left;">
<legend>ინფორმაცია</legend>
<table id="" class="dialog-form-table" width="500px">
<tr>
<td style="width: 600px;">
<label style="float:left; margin-top:7px; margin-right:5px;">სრულწლოვანი (18)</label>
<input style="float:left;" type="radio" name="status_1" value="1" ' . ($res['status_1'] == '1' ? "checked" : "") . '><span style="margin-top:8px; display:block; float: left;"">კი</span>
<input style="float:left;" type="radio" name="status_1" value="2" ' . ($res['status_1'] == '2' ? "checked" : "") . '><span style="margin-top:8px; display:block; float: left;"">არა</span>
</td>
<td style="width: 400px;">
<label style="float:left; margin-top:7px; margin-right:5px;">მწეველი</label>
<input style="float:left;" type="radio" name="status_2" value="1" ' . ($res['status_2'] == '1' ? "checked" : "") . '><span style="margin-top:8px; display:block; float: left;"">კი</span>
<input style="float:left;" type="radio" name="status_2" value="2" ' . ($res['status_2'] == '2' ? "checked" : "") . '><span style="margin-top:8px; display:block; float: left;"">არა</span>
</td>
</tr>
</table>
</fieldset>
<fieldset style="width: 400px; float:left;">
<legend>ზარის დაზუსტება</legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><textarea style="width: 400px; height: 50px;" id="call_comment" class="idle" name="call_comment" cols="300" >' . $res['call_comment'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width: 317px; margin-left:10px; height:55px; float:left;">
<legend>მომართვის შინაარსი</legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><select style="width: 310px; margin-left:5px;" id="call_status_id" class="idls object">' . Getcall_status($res['call_status_id']) . '</select></td>
</tr>
</table>
</fieldset>';
$data .= '
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table" style="width: 750px;">
<tr>
<td style="width: 180px;"><label for="task_type_id">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="task_department_id">განყოფილება</label></td>
<td style="width: 180px;"><label for="persons_id">პასუხისმგებელი პირი</label></td>
<td style="width: 180px;"><label for="priority_id">პრიორიტეტი</label></td>
</tr>
<tr>
<td><select style="width: 180px;" id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td><select style="width: 180px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td><select style="width: 180px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
<td><select style="width: 180px;" id="priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
</table>
<table class="dialog-form-table" style="width: 750px;">
<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 id="done_start_time" style="width: 150px; float:left;" class="idle" type="text" value="' . $res['done_start_time'] . '"><span style="margin-left:5px; ">დან</span></td>
<td><input id="done_end_time" style="width: 150px; float:left;" class="idle" type="text" value="' . $res['done_end_time'] . '"><span style="margin-left:5px; ">მდე</span></td>
示例2: 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':
$callstatus_id = $_REQUEST['id'];
$page = GetPage(Getcall_status($callstatus_id));
$data = array('page' => $page);
break;
case 'get_list':
$count = $_REQUEST['count'];
$hidden = $_REQUEST['hidden'];
$rResult = mysql_query("SELECT \tid,\r\n\t\t\t\t\t\t\t\t\t\t`name`\r\n\t\t\t\t\t\t\t FROM \tsource\r\n\t\t\t\t\t\t\t WHERE \tactived=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[] = '<input type="checkbox" name="check_' . $aRow[$hidden] . '" class="check" value="' . $aRow[$hidden] . '" />';
}
}
$data['aaData'][] = $row;
示例3: GetPage
//.........这里部分代码省略.........
</table>
<table class="dialog-form-table" width="400px">
<tr>
<td>ჯამური ღირებულება</td>
<td><input type="text" style="width: 60px;" id="sum_pirce" class="idle" onblur="this.className=\'idle\'" value="' . $res['sum_pirce'] . '" /></td>
<td>ლარი</td>
<td><input style="float:left;" type="checkbox" name="xxxx" value="1" ' . ($res['card_id'] == '1' ? "checked" : "") . '><span style="margin-top:8px; display:block;""> + ბარათი</span></td>
</tr>
</table>
<table class="dialog-form-table" width="750px">
<tr>
<td><label for="">მიწოდება</label></td>
<td><label style="margin-left:5px;" for="">მოდული</label></td>
</tr>
<tr>
<td><select style="width: 330px;" id="shipping_id" class="idls object">' . Getshipping($res['shipping_id']) . '</select></td>
<td><select style="width: 420px; margin-left:5px;" id="module_id" class="idls object">' . Getmodule($res['module_id']) . '</select></td>
</tr>
</table>
</div>
</fieldset>
<fieldset style="width: 400px; float:left;">
<legend>ზარის დაზუსტება</legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><textarea style="width: 400px; resize: none;" id="call_comment" class="idle" name="call_comment" cols="300" >' . $res['call_comment'] . '</textarea></td>
</tr>
</table>
</fieldset>
<fieldset style="width: 317px; margin-left:10px; height:55px; float:left;">
<legend>ზარის სტატუსი</legend>
<table id="" class="dialog-form-table" width="150px">
<tr>
<td><select style="width: 310px; margin-left:5px;" id="call_status_id" class="idls object">' . Getcall_status($res['call_status_id']) . '</select></td>
</tr>
</table>
</fieldset>
';
$data .= '
<fieldset style="margin-top: 5px;">
<legend>დავალების ფორმირება</legend>
<table class="dialog-form-table" style="width: 750px;">
<tr>
<td style="width: 180px;"><label for="task_type_id">დავალების ტიპი</label></td>
<td style="width: 180px;"><label for="task_department_id">განყოფილება</label></td>
<td style="width: 180px;"><label for="persons_id">პასუხისმგებელი პირი</label></td>
<td style="width: 180px;"><label for="priority_id">პრიორიტეტი</label></td>
</tr>
<tr>
<td><select style="width: 180px;" id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
<td><select style="width: 180px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
<td><select style="width: 180px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>
<td><select style="width: 180px;" id="priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
</tr>
</table>
<table class="dialog-form-table" style="width: 750px;">
<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 id="done_start_time" style="width: 150px; float:left;" class="idle" type="text" value="' . $res['done_start_time'] . '"><span style="margin-left:5px; ">დან</span></td>
示例4: mysql_query
$inc_id = $_REQUEST['inc_id'];
$redactor_comment = $_REQUEST['redactor_comment'];
$user_id = $_SESSION['USERID'];
mysql_query(" UPDATE `incomming_call` \r\n SET `call_status_id` = {$call_status_id},\r\n `fan_status` = '4',\r\n `redactor_user_id` = '{$user_id}',\r\n `redactor_comment` = '{$redactor_comment}'\r\n WHERE `id` = '{$inc_id}'");
$page = GetRecordingsSection($in_phone, $tab);
$data = array('htm_records' => $page);
break;
case 'page_records1':
$incom_id = $_REQUEST['incom_id'];
$in_phone = $_REQUEST['in_phone'];
$page = ' <fieldset style="width: 364px; border: solid 1px #85b1de;">
<legend>მიუთითეთ საჭირო სტატუსი</legend>
<table>
<tr>
<td style="width: 110px;"><label style="display: block; margin-top: 18px; margin-left: 10px;" for="d_number">ზარის სტატუსი</label></td>
<td style="width: 180px;"><select style="width: 180px; display: block; margin-top: 12px; height: 25px;" id="call_status" class="idls object">' . Getcall_status() . '</select></td>
</tr>
<tr>
<td style="width: 110px;">
<label style="display: block; margin-top: 20px; margin-left: 10px;" for="d_number">კომენტარი</label>
</td>
<td style="width: 180px;">
<textarea style="width: 235px; resize: vertical; margin-top: 6px;" id="redactor_comment" class="idle" name="call_content" cols="300" rows="2"></textarea>
</td>
</tr>
</table>
<input id="inc_id" type="text" value="' . $incom_id . '" style="display: none;">
<input id="in_phone" type="text" value="' . $in_phone . '" style="display: none;">
</fieldset>';
$data = array('htm_records' => $page);
break;
示例5: GetPage
//.........这里部分代码省略.........
<td style="width: 180px;"><label for="d_number">ფილიალი</label></td>
<td style="width: 106px;"></td>
</tr>
<tr >
<td style="width: 180px;"><select id="pay_type_id" class="idls object" disabled="disabled">' . Getpay_type($res['pay_type_id']) . '</select></td>
<td style="width: 180px;"><select id="bank_id" class="idls object" disabled="disabled">' . Get_bank($res['bank_id']) . '</select></td>
<td style="width: 180px;"><select id="bank_object_id" class="idls object" disabled="disabled">' . Getbank_object_edit($res['bank_object_id']) . '</select></td>
<td style="width: 106px;"></td>
</tr>
<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>
<td style="width: 106px;"></td>
</tr>
<tr >
<td style="width: 180px;"><select id="card_type_id" class="idls object" disabled="disabled">' . Getcard_type($res['card_type_id']) . '</select></td>
<td style="width: 180px;"><select id="card_type1_id" class="idls object" disabled="disabled">' . Getcard_type1($res['card_type1_id']) . '</select></td>
<td style="width: 180px;"><select id="pay_aparat_id" class="idls object" disabled="disabled">' . Getpay_aparat($res['pay_aparat_id']) . '</select></td>
<td style="width: 106px;"></td>
</tr>
</table>';
}
$data .= '<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="req_num">პრობლემის თარიღი</label></td>
<td style="width: 180px;"><label for="d_number">ობიექტი</label></td>
<td style="width: 180px;"><label for="d_number">ზარის სტატუსი</label></td>
<td ></td>
</tr>
<tr>
<td style="width: 180px;"> <input type="text" id="problem_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res[problem_date] . '"disabled="disabled" /></td>
<td style="width: 180px;"><select id="object_id" class="idls object" disabled="disabled">' . Getobject($res['object_id']) . '</select></td>
<td style="width: 180px;"><select id="call_status_id" class="idls object"disabled="disabled">' . Getcall_status($res['status']) . '</select></td>
<td ></td>
</tr>
<tr>
<td style="width: 180px;"><label for="content">საუბრის შინაარსი</label></td>
</tr>
<tr>
<td colspan="6">
<textarea disabled="disabled" style="width: 641px; resize: none;" id="call_content" class="idle" name="call_content" cols="300" rows="2" >' . $res['call_content'] . '</textarea>
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="content">პრობლემის გადაწყვეტა</label></td>
</tr>
<tr>
<td colspan="6">
<textarea style="width: 641px; resize: none;" id="problem_comment" class="idle" name="call_content" cols="300" rows="2">' . $res['problem_comment'] . '</textarea>
</td>
</tr>
</table>
</fieldset >
<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>
示例6: GetPage
function GetPage($res = '', $number)
{
$num = 0;
if ($res[phone] == "") {
$num = $number;
} else {
$num = $res[phone];
}
if ($res[id] != '') {
$dis = 'disabled="disabled"';
} else {
$dis = '';
}
$increm = mysql_query("\tSELECT `name`,\r\n\t\t\t\t\t\t\t\t\t`rand_name`\r\n\t\t\t\t\t\t\tFROM \t`file`\r\n\t\t\t\t\t\t\tWHERE `incomming_call_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: 673px;">
<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: 180px;"><label for="req_num">მომართვა №</label></td>
<td style="width: 180px !important;"><label for="req_data">თარიღი</label></td>
<td style="width: 180px;"><label for="req_phone">ტელეფონი</label></td>
</tr>
<tr>
<td style="width: 180px;">
<input type="text" id="id" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField user_id\'" value="' . $res['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'] . '" disabled="disabled" />
</td>
<td style="width: 180px;">
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $num . '" disabled="disabled"/>
</td>
<td style="width: 69px;">
</td>
</tr>
<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>
<td ></td>
</tr>
<tr>
<td style="width: 180px;"><select id="call_type_id" class="idls object"disabled="disabled">' . Getcall_type($res['call_type_id']) . '</select></td>
<td style="width: 180px;"><select id="category_parent_id" class="idls object"disabled="disabled">' . Getcategory($res['category_parent_id']) . '</select></td>
<td style="width: 180px;"><select id="category_id" class="idls object"disabled="disabled">' . Getcategory1_edit($res['category_id']) . '</select></td>
<td ></td>
</tr>
</table>';
$data .= '<table id="additional" class="hidden dialog-form-table" width="100%">
<tr id="aaaa">
<td style="width: 180px;"><label pey_label1 for="d_number">ტრანზაქციის ფორმა</label></td>
<td style="width: 180px;"><label id="bank_label" for="d_number">მომსახურე ბანკი</label></td>
<td style="width: 180px;"><label id="pey_label" for="d_number">აპარატის ტიპი</label></td>
<td style="width: 106px;"></td>
</tr>
<tr id="c">
<td style="width: 180px;"><select id="pay_type_id" class="idls object"disabled="disabled">' . Getpay_type($res['pay_type_id']) . '</select></td>
<td style="width: 180px;"><select id="bank_id" class="idls object"disabled="disabled">' . Get_bank($res['bank_id']) . '</select></td>
<td style="width: 180px;"><select id="pay_aparat_id" class="idls object"disabled="disabled">' . Getpay_aparat($res['pay_aparat_id']) . '</select></td>
<td style="width: 106px;"></td>
</tr>
<tr id="bbbb">
<td style="width: 180px;"><label id="card_label" for="d_number">ბარათის ტიპი</label></td>
<td style="width: 180px;"></td>
<td style="width: 180px;"></td>
<td style="width: 106px;"></td>
</tr>
<tr id="d" >
<td style="width: 180px;"><select id="card_type_id" class="idls object"disabled="disabled">' . Getcard_type($res['card_type_id']) . '</select></td>
<td style="width: 180px;"></td>
<td style="width: 180px;"></td>
<td style="width: 106px;"></td>
</tr>
</table>';
$data .= '<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="req_num">პრობლემის თარიღი</label></td>
<td style="width: 180px;"><label for="d_number">სტატუსი</label></td>
<td style="width: 180px;"><label for="d_number">ობიექტი</label></td>
<td ></td>
</tr>
<tr>
<td style="width: 180px;"> <input type="text" id="problem_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['problem_date'] . '"disabled="disabled" /></td>
<td style="width: 180px;"><select id="call_status_id" class="idls object"disabled="disabled"disabled="disabled">' . Getcall_status($res['status']) . '</select></td>
<td style="width: 180px;"><select id="object_id" class="idls object"disabled="disabled">' . Getobject($res['object_id']) . '</select></td>
<td ></td>
//.........这里部分代码省略.........
示例7: GetPage
//.........这里部分代码省略.........
<td style="width: 215px;"><label for="d_number" id="bank_label">მომსახურე ბანკი</label></td>
<td style="width: 215px;"><label id="pey_label" for="d_number" >აპარატის ტიპი</label></td>
</tr>
<tr id="c">
<td style="width: 215px;"><select style="width: 186px;" id="pay_type_id" class="idls object">' . Getpay_type($res['pay_type_id']) . '</select></td>
<td style="width: 215px;"><select style="width: 186px;" id="bank_id" class="idls object">' . Get_bank($res['bank_id']) . '</select></td>
<td style="width: 215px;"><select style="width: 186px;" id="pay_aparat_id" class="idls object">' . Getpay_aparat($res['pay_aparat_id']) . '</select></td>
</tr>
<tr id="bbbb">
<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>
示例8: GetPage
function GetPage($res = '', $number)
{
$c_date = date('Y-m-d H:i:s');
$num = 0;
if ($res[source] == "") {
$num = $number;
} else {
$num = $res[source];
}
if ($res[date] == "") {
$date = $c_date;
} else {
$date = $res[date];
}
if ($res[id] != '') {
$disable = '';
$dis_val = 1;
} else {
$disable = '';
$dis_val = 0;
}
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="საქონელი">
<input id="disable_all" type="hidden" value="0">
<input id="update_status" type="hidden" value="0">
</div>
<div id="dialog-form">
<table width="100%" class="dialog-form-table">
<tr>
<td style="vertical-align: top;">
<fieldset style="width: 190px; margin-top: 55px;">
<legend>ძირითადი ინფორმაცია</legend>
<table class="dialog-form-table">
<tr>
<td>
<label for="req_num">ავტორი</label>
</td>
<td>
<label for="req_num">:</label>
</td>
<td>
<label for="req_num">' . $res['operator'] . '</label>
</td>
</tr>
</table>
<table width="100%" class="dialog-form-table">
<tr>
<td style="width: 180px;"><label for="req_num">მომართვა №</label></td>
</tr>
<tr>
<td style="width: 100px;">
<input style="width: 180px;" type="text" id="id" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField user_id\'" value="' . $res['id'] . '" disabled="disabled" />
</td>
</tr>
<tr>
<td style="width: 180px !important;"><label for="req_data">თარიღი</label></td>
</tr>
<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">
//.........这里部分代码省略.........
示例9: 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];
}
if ($res[date] == "") {
$date = $c_date;
} else {
$date = $res[date];
}
if ($res[incomming_call_id] != "") {
$dis = 'disabled="disabled"';
} else {
$dis = '';
}
$increm = mysql_query("\tSELECT `name`,\r\n\t\t\t\t\t\t\t\t\t`rand_name`\r\n\t\t\t\t\t\t\tFROM \t`file`\r\n\t\t\t\t\t\t\tWHERE `incomming_call_id` = {$res['id']}");
$data .= '
<!-- jQuery Dialog -->
<div id="add-edit-goods-form" title="საქონელი">
<!-- aJax -->
</div>
<div id="dialog-form">
<div style="float: left; width: 551px;">
<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: 180px;"><label for="req_num">მომართვა №</label></td>
<td style="width: 180px !important;"><label for="req_data">თარიღი</label></td>
<td style="width: 180px;"><label for="req_phone">ტელეფონი</label></td>
</tr>
<tr>
<td style="width: 180px;">
<input type="text" id="id" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField user_id\'" value="' . $res['id'] . '" disabled="disabled" />
</td>
<td style="width: 180px;">
<input type="text" id="call_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField date\'" value="' . $date . '" disabled="disabled" />
</td>
<td style="width: 180px;">
<input type="text" id="phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $num . '" ' . $dis . '/>
</td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">კატეგორია <span style="color: #FA0000;">*</span></label></td>
<td style="width: 180px;"><label for="d_number">ქვე-კატეგორია</label></td>
<td style="width: 180px;"><label for="d_number"></label></td>
<td ></td>
</tr>
<tr>
<td style="width: 180px;"><select id="category_id" class="idls object">' . Getcategory($res['call_category_id']) . '</select></td>
<td style="width: 180px;"><select id="category_parent_id" class="idls object">' . Getcategory1_edit($res['call_subcategory_id'], $res['call_category_id']) . '</select></td>
<td style="width: 180px;"></td>
<td ></td>
</tr>
</table>
<tr style="margin-top: 20px;">
<td style="width: 180px; "><label for="content">დამატებითი ინფორმაცია</label></td>
</tr>
<tr>
<td colspan="6">
<div id="content">
<textarea style="width: 525px; resize: vertical; margin-top: 5px;" id="call_content" class="idle" name="call_content" cols="300" rows="2" ' . $dis . '>' . $res['call_content'] . '</textarea>
</div>
</td>
</tr>
</table>
<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;"><select id="task_type_id" class="idls object" ' . $dis . '>' . Gettask_type($res['task_type_id']) . '</select></td>
<td style="width: 180px;"><select id="task_status_id" class="idls object">' . Getcall_status($res['status']) . '</select></td>
<td style="width: 180px;"><select id="persons_id" class="idls object" ' . $dis . '>' . Getpersons($res['responsible_user_id']) . '</select></td>
</tr>
<tr>
<td style="width: 180px;"><label for="d_number">სხვა ნომერი</label></td>
<td style="width: 180px;"></td>
<td style="width: 180px;"></td>
</tr>
<tr>
<td style="width: 180px;">
<input type="text" id="out_phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['task_phone'] . '" ' . $dis . '/>
</td>
<td style="width: 180px;"></td>
<td style="width: 180px;"></td>
</tr>
//.........这里部分代码省略.........