当前位置: 首页>>代码示例>>PHP>>正文


PHP Getpriority函数代码示例

本文整理汇总了PHP中Getpriority函数的典型用法代码示例。如果您正苦于以下问题:PHP Getpriority函数的具体用法?PHP Getpriority怎么用?PHP Getpriority使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了Getpriority函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: GetPage


//.........这里部分代码省略.........
							<td style="width: 180px;"><label for="call_content">საუბრის შინაარსი</label></td>
						</tr>
						<tr>
							
							<td colspan="6">	
								<textarea  style="width: 641px; resize: none;" id="call_content" class="idle" name="call_content" cols="300" rows="4">' . $res['call_content'] . '</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 ><label for="d_number">განყოფილება</label></td>
							
						</tr>
			    		<tr>
							<td ><select  id="task_type_id" class="idls object">' . Gettask_type($res['task_type_id']) . '</select></td>
							<td ><select style="width: 465px;" id="task_department_id" class="idls object">' . Getdepartment($res['task_department_id']) . '</select></td>
						</tr>
					</table>		    
					<table class="dialog-form-table">
							    		    
						<tr>
							<td style="width: 500px;"><label for="d_number">პასუხისმგებელი პირი</label</td>	    
							<td style="width: 180px;"><label for="d_number">პრიორიტეტები</label></td>													
						</tr>
						<tr>
							<td ><select  style="width: 450px;" id="persons_id" class="idls object">' . Getpersons($res['persons_id']) . '</select></td>    
							<td style="width: 180px;"><select id="priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
						</tr>
					</table>
		        </fieldset>
			</div>
			<div>
				  </fieldset>
			</div>
			<div style="float: right;  width: 355px;">
					    
<!---------------------------------------------------------------კლიენტი---------------------------------------------------------------------------->							    
				 <fieldset onload="legal()">
					<legend>მომართვის ავტორი</legend>
					<table style="height: 172px;">
						<tr style="height:20px;">
							<td style="padding: 0px 0px 10px 45px;"><input type="radio" style="float:left;" class="legal" onclick="legal()" value="fhisical" name="legal" ' . ($res['abonent_status'] == "fhisical" ? "checked" : "checked") . '><span style="display: inline-block; margin: 8px;" >ფიზიკური </span></td>
							<td style="width: 180px; height:20px;"><input type="radio" style="float:left;" class="legal" onclick="legal()" value="Jural" name="legal" ' . ($res['abonent_status'] == "Jural" ? "checked" : "") . '><span style="display: inline-block; margin: 8px;">იურიდიული </td>
						</tr>
						<tr style="height:20px;">
							<td style="width: 180px; height:20px;">ტელეფონი</td>
							<td style="width: 180px; height:20px;"><div class="fhisical">პირადი ნომერი</div><div class="Jural">საიდენთიპიკაციო კოდი</div></td>
						</tr>	    
						<tr style="height:40px;">
							<td style="width: 180px; height:20px;"><input type="text" id="abonent_phone" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['abonent_phone'] . '" /></td>
                            <td style="width: 180px; height:20px;"><input type="text" id="abonent_pin" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['abonent_pin'] . '" /></td>
						</tr>
						<tr style="height:20px;">
							<td colspan="2" style="height:20px;"><div class="fhisical">აბონენტის სახელი გვარი</div><div class="Jural">ორგანიზაცია</div></td>
						</tr>
						<tr style="height:40px;">
							<td colspan="2" style="height:20px;">
								<input type="text" id="abonent_name" style="width: 328px;" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['abonent_name'] . '" />
							</td>		
开发者ID:aleqsandre553,项目名称:ktg,代码行数:67,代码来源:incomming.action4.php

示例2: GetPage


//.........这里部分代码省略.........
				
				<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>
							<td>
								<textarea  style="width: 300px; resize: none;" id="comment" class="idle" name="content" cols="300" >' . $res['comment'] . '</textarea>
							</td>
						</tr>
					</table>
		        </fieldset>
			</div>
			<div>
				  </fieldset>
			</div>
			<div style="float: right;  width: 355px;">
				 
				<fieldset style="width: 334px; float:left;">
					   <legend>ტაგები</legend>
							    <div  id="tree">
				    ' . GetTree() . '
				        </div>
				</fieldset>					
				<fieldset style="margin-top: 10px; width: 150px; margin-left:10px; float: right;">
            		<legend>ფაილი</legend>
开发者ID:GeoPvN,项目名称:winstone,代码行数:67,代码来源:incomming.action.php

示例3: GetPage


//.........这里部分代码省略.........
									<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_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>			
									</tr>
									<tr>
										<td td style="width: 180px; color: #3C7FB1;">ქალაქი</td>
										<td td style="width: 180px; color: #3C7FB1;">დაბადების თარიღი</td>
									</tr>
									<tr>
										<td><input type="text" id="city_id"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['city_id'] . '" /></td>	
										<td td style="width: 180px;">
											<input type="text" id="b_day"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['b_day'] . '" />		
										</td>
									</tr>
									<tr>
										<td td style="width: 180px; color: #3C7FB1;">მისამართი</td>
										<td style="width: 180px; color: #3C7FB1;">პირადი ნომერი</td>
									</tr>
									<tr>
										<td td style="width: 180px;">
											<input type="text" id="addres"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['addres'] . '" />		
										</td>
										<td style="width: 180px;">
											<input type="text" id="person_n"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['person_n'] . '" />
										</td>
									</tr>
													
									<tr>
										<td td style="width: 180px; color: #3C7FB1;">ასაკი</td>
										<td style="width: 180px; color: #3C7FB1;">სქესი</td>
									</tr>
									<tr>
										<td td style="width: 180px;">
											<input type="text" id="age"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['age'] . '" />		
										</td>
										<td style="width: 180px;">
											<input type="text" id="sex"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['sex'] . '" />
										</td>
									</tr>
									
									<tr>
										<td td style="width: 180px; color: #3C7FB1;">პროფესია</td>
										<td style="width: 180px; color: #3C7FB1;">ინტერესების სფერო</td>
									</tr>
									<tr>
										<td td style="width: 180px;">
											<input type="text" id="profession"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['profession'] . '" />		
										</td>
										<td style="width: 180px;">
											<input type="text" id="interes"  class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['interes'] . '" />
										</td>
									</tr>
									
								</table>
							</fieldset>';
    $data .= GetRecordingsSection($res);
    $data .= '</div>
						    
						    <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>	
				    </div>';
    $data .= '<input type="hidden" id="outgoing_call_id" value="' . $res['id'] . '" />';
    return $data;
}
开发者ID:GeoPvN,项目名称:winstone,代码行数:101,代码来源:outgoing_tab0.action.php

示例4: GetPage


//.........这里部分代码省略.........
    $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>
								</fieldset>
								<fieldset>
开发者ID:GeoPvN,项目名称:mspy,代码行数:67,代码来源:outgoing_tab8.action.php

示例5: GetPage


//.........这里部分代码省略.........
				<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>
					  		<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>
							<td>
								<textarea  style="width: 300px; resize: none;" id="comment" class="idle" name="content" cols="300" >' . $res['comment'] . '</textarea>
							</td>
						</tr>
					</table>
		        </fieldset>
			</div>
			<div>
				  </fieldset>
			</div>
			<div style="float: right;  width: 355px;">
				 
				<fieldset>
					<legend>მომართვის ავტორი</legend>
					<table style="height: 243px;">						
						<tr>
							<td style="width: 180px; color: #3C7FB1;">ტელეფონი</td>
							<td style="width: 180px; color: #3C7FB1;">პირადი ნომერი</td>
						</tr>
						<tr>
开发者ID:GeoPvN,项目名称:winstone,代码行数:67,代码来源:incomming_miss_call.action.php

示例6: 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>
//.........这里部分代码省略.........
开发者ID:GeoPvN,项目名称:epro,代码行数:101,代码来源:action.action1.php

示例7: GetPage


//.........这里部分代码省略.........
						</tr>
						<tr>
							<td style="width: 180px;"><label for="content">საუბრის შინაარსი</label></td>
						</tr>
						<tr>
							
							<td colspan="6">	
								<textarea  style="width: 641px; resize: none;" id="call_content" class="idle" name="call_content" cols="300" rows="4"disabled="disabled">' . $res['call_content'] . '</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>
			    		<tr>
							<td style="width: 180px;" id="task_type_change"><select id="task_type_id" class="idls object"disabled="disabled">' . Gettask_type($res['task_type_id']) . '</select></td>
							<td style="width: 180px;"><select id="task_department_id" class="idls object"disabled="disabled">' . Getdepartment($res['task_department_id']) . '</select></td>
							<td style="width: 180px;"><select id="persons_id" class="idls object"disabled="disabled">' . Getpersons($res['persons_id']) . '</select></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>
						</tr>
						<tr>
							<td style="width: 180px;"><select id="priority_id" class="idls object">' . Getpriority($res['priority_id']) . '</select></td>
							<td style="width: 180px;"><select id="controler_id" class="idls object">' . Get_control($res['control_user_id']) . '</select></td>
							<td style="width: 180px;">
								<input type="text" id="task_phone" class="idle" onblur="this.className=\'idle\'" value="' . $res['task_phone'] . '" />	
							</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_coment" class="idle" name="call_content" cols="300" rows="4"disabled="disabled">' . $res['problem_comment'] . '</textarea>
							</td>
						</tr>	
					</table>
		        </fieldset>
			</div>
			<div>
				  </fieldset>
			</div>
			<div style="float: right;  width: 355px;">
				 <fieldset>
					<legend>მომართვის ავტორი</legend>
					<table style="height: 119px;">
						<tr>
							<td style="width: 180px;">PIN კოდი</td>
							<td style="width: 180px;"></td>
						</tr>
						<tr>
							<td style="width: 180px;"><input type="text" id="personal_pin" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['personal_pin'] . '"' . $dis . ' disabled="disabled"/></td>
							<td style="width: 180px;" class="hidden friend">
							</td>
开发者ID:aleqsandre553,项目名称:ktg,代码行数:67,代码来源:incomming.action.php

示例8: 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\tFROM \t`file`\r\n\t\t\tWHERE   `task_id` = {$res['id']}\r\n\t\t\t");
    if ($res[call_id] == '') {
        $data .= '<div id="dialog-form">
							<div style="float: left; width: 500px;">
								<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 !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="' . $res['phone'] . '" disabled="disabled" />
											</td>
											<td style="width: 69px;">
												<button class="calls">ნომრები</button>
											</td>
										</tr>
														
										<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="planned_end_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['planned_end_date'] . '" disabled="disabled" />
											</td>
											<td style="width: 180px;">
												<input type="text" id="fact_end_date" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['fact_end_date'] . '" disabled="disabled" />
											</td>
											<td style="width: 180px;">
												<input type="text" id="call_duration" class="idle" onblur="this.className=\'idle\'" onfocus="this.className=\'activeField\'" value="' . $res['call_duration'] . '" disabled="disabled" />
											</td>
											<td style="width: 69px;">
											</td>
										</tr>';
        $data .= '<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"disabled="disabled" disabled="disabled">' . Gettask_type($res['task_type_id']) . '</select></td>
											<td style="width: 180px;"><select id="task_department_id" class="idls object"disabled="disabled">' . Getdepartment($res['task_department_id']) . '</select></td>
											<td style="width: 180px;"><select id="persons_id" class="idls object" disabled="disabled">' . Getpersonss($res['persons_id']) . '</select></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;"></td>
										</tr>
										<tr>
											<td style="width: 180px;"><select id="priority_id" class="idls object" disabled="disabled">' . Getpriority($res['priority_id']) . '</select></td>
											<td style="width: 180px;"><select id="template_id" class="idls object" disabled="disabled">' . Gettemplate($res['template_id']) . '</select></td>
											<td style="width: 180px;"></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: 641px; resize: none;" id="comment" class="idle" name="call_content" cols="300" rows="2" disabled="disabled">' . $res['comment'] . '</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>
//.........这里部分代码省略.........
开发者ID:GeoPvN,项目名称:epro,代码行数:101,代码来源:tasks_tab2.action.php

示例9: GetPage


//.........这里部分代码省略.........
    $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'] . '" />
										</td>
										<td>
开发者ID:GeoPvN,项目名称:mspy,代码行数:67,代码来源:outgoing_tab0.action.php

示例10: GetPage


//.........这里部分代码省略.........
						</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>
					</table>	
								<br>	
									
						<table>			
						<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>
开发者ID:aleqsandre553,项目名称:ktg,代码行数:67,代码来源:tasks.action.php

示例11: log

<?php

require_once '../../includes/classes/core.php';
include '../../includes/classes/log.class.php';
$log = new log();
$action = $_REQUEST['act'];
$error = '';
$data = '';
switch ($action) {
    case 'get_add_page':
        $page = GetPage();
        $data = array('page' => $page);
        break;
    case 'get_edit_page':
        $priority_id = $_REQUEST['id'];
        $page = GetPage(Getpriority($priority_id));
        $data = array('page' => $page);
        break;
    case 'get_list':
        $count = $_REQUEST['count'];
        $hidden = $_REQUEST['hidden'];
        $rResult = mysql_query("SELECT \tpriority.id,\r\n\t\t\t\t\t\t\t\t\t\tpriority.`name`\r\n\t\t\t\t\t\t\t    FROM \tpriority\r\n\t\t\t\t\t\t\t    WHERE \tpriority.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[] = '<input type="checkbox" name="check_' . $aRow[$hidden] . '" class="check" value="' . $aRow[$hidden] . '" />';
                }
开发者ID:GeoPvN,项目名称:winstone,代码行数:31,代码来源:priority.action.php

示例12: 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;
}
开发者ID:aleqsandre553,项目名称:msgroup,代码行数:101,代码来源:incomming.action2.php

示例13: GetPage


//.........这里部分代码省略.........
		          </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'] . '" />
										</td>
										<td>
开发者ID:GeoPvN,项目名称:mspy,代码行数:67,代码来源:outgoing_tab0_0.action.php

示例14: 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>
//.........这里部分代码省略.........
开发者ID:GeoPvN,项目名称:winstone,代码行数:101,代码来源:action.action.php

示例15: 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">	
//.........这里部分代码省略.........
开发者ID:aleqsandre553,项目名称:msgroup,代码行数:101,代码来源:tasks.action.php


注:本文中的Getpriority函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。