Beispiel #1
0
  	  <td class="TableData">
		<select name="groupid"><?php 
echo get_grouplist($user['groupid']);
?>
</select> 
		
  	  </td>
  		<td nowrap class="TableContent">所属部门:<?php 
get_helps();
?>
</td>
  	  <td class="TableData"> 
  	    <select class="SelectStyle" name="departmentid">
											<option value="0" ></option>
											<?php 
get_realdepalist(0, $user['departmentid']);
?>
										</select>   
     
      </td>
  	</tr>
  	<tr>
  		<td nowrap class="TableContent">岗位:<?php 
get_helps();
?>
</td>
  	  <td class="TableData">
		<select class="SelectStyle" name="positionid">
											<option value="0" ></option>
											<?php 
get_postlist(0, $user['positionid']);
Beispiel #2
0
				<div class="record-search-time fn-clear">
					<div class="ui-form-item ui-form-item-time">
						<label class="ui-form-label" for="J-start">关键词:</label>
						<div class="ui-form-content">
							<input type="text" value="<?php 
echo urldecode($keyword);
?>
" name="keyword" class="ui-input search-keyword" id="J-keyword">
						</div>
						
						<label class="ui-form-label" for="J-start">部门:</label>
						<div class="ui-form-content">
						<select name="department" class="BigStatic">
						  <option value="" selected="selected"></option>
						 <?php 
echo get_realdepalist(0, $department, 0);
?>
			              </select>
						</div>
						<label class="ui-form-label" for="J-start">用户组:</label>
						<div class="ui-form-content">
						<select name="usergroup" class="BigStatic">
						  <option value="" selected="selected"></option>
						 <?php 
echo get_grouplist($usergroup);
?>
			              </select>
						</div>
						
						<div class="submit-time-container ">
							<div class="submit-time ui-button ui-button-sorange">
Beispiel #3
0
function get_realdepalist($fatherid = 0, $selid = 0, $layer = 0)
{
    $str = "";
    global $db;
    $query = $db->query("SELECT * FROM " . DB_TABLEPRE . "department where father='{$fatherid}'  ORDER BY id Asc");
    if (count($query) > 0) {
        for ($i = 0; $i < $layer; $i++) {
            $str .= "├";
        }
        while ($row = $db->fetch_array($query)) {
            $selstr = $row['id'] == $selid ? 'selected="selected"' : '';
            $htmlstr = '<option value="' . $row['id'] . '"  ' . $selstr . '>' . $str . $row['name'] . '</option>';
            echo $htmlstr;
            get_realdepalist($row['id'], $selid, $layer + 1);
        }
    }
    return;
}
Beispiel #4
0
" name="number" style="width:120px;" class="ui-input search-keyword" id="J-keyword">
						</div>
						<label class="ui-form-label" for="J-start">名称:</label>
						<div class="ui-form-content">
							<input type="text" value="<?php 
echo urldecode($title);
?>
" name="title" class="ui-input search-keyword" id="J-keyword">
						</div>
						
						<label class="ui-form-label" for="J-start">所属部门:</label>
						<div class="ui-form-content">
		<select class="BigStatic" name="type">
		<option value="" selected></option>
		<?php 
get_realdepalist(0, $type);
?>
		</select>
					  </div>
						<label class="ui-form-label" for="J-start">日期:</label>
						<div class="ui-form-content">
		<input type="text" value="<?php 
echo $vstartdate;
?>
"  class="ui-input i-date" readonly="readonly"  onClick="WdatePicker();" name='vstartdate' > - <input type="text" value="<?php 
echo $venddate;
?>
"  class="ui-input i-date" readonly="readonly"  onClick="WdatePicker();" name='venddate' >
					  </div>
						
						<div class="submit-time-container ">
Beispiel #5
0
    </tr>
	<tr>
      <td nowrap class="TableContent"> 资产名称:<?php 
get_helps();
?>
</td>
      <td class="TableData">
<input name="name" type="text" class="BigInput" id="name" style="width: 300px;" maxlength="100" />      </td>
    </tr>
	<tr>
      <td nowrap class="TableContent"> 所属部门:</td>
      <td class="TableData">
<select class="BigStatic" name="department">
											<option value="0" ></option>
											<?php 
get_realdepalist(0, 0);
?>
										</select> </td>
    </tr>
	<tr>
      <td nowrap class="TableContent"> 资产净值:<?php 
get_helps();
?>
</td>
      <td class="TableData">
<input name="cptl_val" type="text" class="BigInput" id="cptl_val" onKeyUp="value=value.replace(/[^0-9^.]/g,'');" onkeypress="check_input()" onblur="check_value(this)" style="width: 120px;"  maxlength="100" />&nbsp;只能填写数字      </td>
    </tr>
	<tr>
      <td nowrap class="TableContent"> 残值:<?php 
get_helps();
?>
Beispiel #6
0
get_helps();
?>
</td>
      <td class="TableData">
<input name="name" type="text" class="BigInput" id="name" value="<?php 
echo $blog['name'];
?>
" style="width: 300px;" maxlength="100" />      </td>
    </tr>
	<tr>
      <td nowrap class="TableContent"> 所属部门:</td>
      <td class="TableData">
<select class="BigStatic" name="department">
											<option value="0" ></option>
											<?php 
get_realdepalist(0, $blog['department']);
?>
										</select></td>
    </tr>
	<tr>
      <td nowrap class="TableContent"> 资产净值:<?php 
get_helps();
?>
</td>
      <td class="TableData">
<input name="cptl_val" type="text" class="BigInput" id="cptl_val" onKeyUp="value=value.replace(/[^0-9^.]/g,'');" value="<?php 
echo $blog['cptl_val'];
?>
" onkeypress="check_input()" onblur="check_value(this)" style="width: 120px;"  maxlength="100" />&nbsp;只能填写数字      </td>
    </tr>
	<tr>