Example #1
0
</td>
      <td class="TableData">
      <input type="text" name="jobnum" class="BigInput" size="15" value="<?php 
echo $blog['jobnum'];
?>
"   onKeyUp="value=value.replace(/[^0-9^.]/g,'');" /> 人</td>
    </tr>
	
    <tr>
      <td nowrap class="TableContent" width="15%"> 招聘部门:<?php 
get_helps();
?>
</td>
      <td class="TableData">
	  <?php 
get_depabox(2, "department", $blog['department'], "+选择部门", 60, 3);
?>
	 </td>
    </tr>
	
	<tr>
      <td nowrap class="TableContent"> 附件文档:</td>
      <td class="TableData">
<?php 
echo public_upload('appendix', $blog['appendix']);
?>
      </td>
    </tr>
	
	
</table>
Example #2
0
?>
"  onKeyUp="value=value.replace(/[^0-9^.]/g,'');"/> RMB		</td>
			  <td class="TableContent" width="150">审批人员:<?php 
get_helps();
?>
</td>
			  <td class="TableData"><?php 
get_pubuser(1, "examination", $user['examination'], "+选择审批人员", 80, 25);
?>
	</td>  	  	
		</tr>
		
		<tr>
			<td nowrap class="TableContent" width="150">参与培训部门:</td>
			  <td class="TableData"><?php 
get_depabox(2, "department", $user['department'], "+选择部门", 30, 4);
?>
	</td>
			  <td class="TableContent" width="150">参与培训人员:<?php 
get_helps();
?>
</td>
			  <td class="TableData"><?php 
get_pubuser(2, "user", $user['user'], "+选择参与人员", 30, 4);
?>
	</td>  	  	
		</tr>
		
		
		<tr>
			<td nowrap class="TableContent" width="150">培训机构相关信息:</td>
Example #3
0
                echo get_project_checkbox($flowrow["inputname"], $flowrow["inputvaluenum"], $flowrow['inputvalue']);
            } elseif ($flowrow["inputtype1"] == '5') {
                //下拉
                echo get_project_select($flowrow["inputname"], $flowrow["inputvaluenum"], $flowrow['inputvalue']);
            }
        } elseif ($flowrow["inputtype"] == '1') {
            //图片
            public_upload($flowrow["inputname"], $flowrow["inputvalue"]);
        } elseif ($flowrow["inputtype"] == '2') {
            //附件
            public_upload($flowrow["inputname"], $flowrow["inputvalue"]);
        } elseif ($flowrow["inputtype"] == '3') {
            //日期
            echo get_project_date($flowrow["inputname"]);
        } elseif ($flowrow["inputtype"] == '4') {
            get_depabox(2, $flowrow["inputname"], "", "+选择部门", 60, 4);
        } elseif ($flowrow["inputtype"] == '5') {
            get_pubuser(2, $flowrow["inputname"], "", "+选择人员", 60, 4);
        }
        ?>
</td>
    </tr>
</table> 
<?php 
    }
    ?>
<table class="TableBlock" border="0" width="70%" align="center">
<?php 
}
?>
	
Example #4
0
			<input name="type" type="radio" style="border:0;" value="部门" <?php 
if ($user['type'] == '部门') {
    ?>
checked="checked"<?php 
}
?>
 onclick="toggle2('div1')" />
			部门
				
      </td>
    </tr>
	<tr id="div1">
      <td nowrap class="TableContent"> 发布部门:</td>
      <td class="TableData">
	  <?php 
get_depabox(2, "department", $user['department'], "+选择部门", 60, 3);
?>
	  </td>
    </tr>
	 <tr>
      <td nowrap class="TableContent" width="100"> 开始日期:<?php 
get_helps();
?>
</td>
      <td class="TableData">
	  <input type="text" name="startdate" class="BigInput" size="15" value="<?php 
echo $startdate[0];
?>
" onClick="WdatePicker();"/> 时间:<select name="starth">
			    <option value="0" selected="selected"></option>
			    <?php 
Example #5
0
      <td class="TableData">
      
	  <?php 
get_pubuser(2, "user", $blog['user'], "+选择录用负责人", 50, 4);
?>
	  </td>
    </tr>
	<tr>
      <td nowrap class="TableContent" width="15%"> 用人部门:<?php 
get_helps();
?>
</td>
      <td class="TableData">
     
	   <?php 
get_depabox(1, "department", $blog['department'], "+选择部门", 120, 20);
?>
	  </td>
    </tr>
	
    <tr>
      <td nowrap class="TableContent" width="15%"> 录用日期:<?php 
get_helps();
?>
</td>
      <td class="TableData">
      <input type="text" name="hiredate" class="BigInput" style="width:168px;" size="20" value="<?php 
echo $blog['hiredate'];
?>
" onClick="WdatePicker();" /></td>
    </tr>
Example #6
0
function P_I_DB($typeid = 0, $tplid = 0, $inputname = '', $w = 0, $h = 0, $value = '', $type6 = 0)
{
    global $db;
    $tpl = $db->fetch_one_array("SELECT * FROM " . DB_TABLEPRE . "project_from where typeid='" . $typeid . "' and tplid='" . $tplid . "' and inputname='" . $inputname . "'  ORDER BY fromid Asc");
    if ($tpl['inputtype'] == '0') {
        if ($tpl["inputtype1"] == '1') {
            echo get_project_input($tpl["inputname"], $w, $h, $tpl['inputvalue']);
        } elseif ($tpl["inputtype1"] == '2') {
            echo get_project_textarea($tpl["inputname"], $w, $h, $tpl['inputvalue']);
        } elseif ($tpl["inputtype1"] == '3') {
            echo get_project_radio($tpl["inputname"], $tpl["inputvaluenum"], $tpl['inputvalue']);
        } elseif ($tpl["inputtype1"] == '4') {
            echo get_project_checkbox($tpl["inputname"], $tpl["inputvaluenum"], $tpl['inputvalue']);
        } elseif ($tpl["inputtype1"] == '5') {
            echo get_project_select($tpl["inputname"], $tpl["inputvaluenum"], $tpl['inputvalue']);
        }
    } elseif ($tpl["inputtype"] == '1') {
        public_upload($tpl["inputname"], $w, $h);
    } elseif ($tpl["inputtype"] == '2') {
        public_upload($tpl["inputname"], $w, $h);
    } elseif ($tpl["inputtype"] == '3') {
        echo get_project_date($tpl["inputname"], $w, $h);
    } elseif ($tpl["inputtype"] == '4') {
        $_USER = new User();
        get_depabox(1, $tpl["inputname"], get_depauseridname($_USER->id), "+选择部门", $w, $h);
    } elseif ($tpl["inputtype"] == '5') {
        get_pubuser(1, $tpl["inputname"], "", "+选择人员", $w, $h);
    } elseif ($tpl["inputtype"] == '6') {
        if ($type6 != 0) {
            echo '<textarea name="' . $tpl["inputname"] . '[]" style="width:' . $w . 'px;font-size:14px;" rows="' . $h . '">' . $value . '</textarea>';
        } else {
            echo '<input type="text" name="' . $tpl["inputname"] . '[]" style="border:1px;line-height:' . $h . 'px;width:' . $w . 'px;height:' . $h . 'px;font-size:14px;" value="' . $value . '" />';
        }
    }
}
Example #7
0
echo $fileurl;
?>
" />
		<input type="hidden" name="vuidtype" value="<?php 
echo $vuidtype;
?>
" />
		<div class="ui-grid-21 ui-grid-right record-search">
		
			<div id="J-advanced-filter-option" class="">
				<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">
						<?php 
get_depabox(1, "department", $department, "+选择部门", 120, 20);
?>
						</div>
						
						<label class="ui-form-label" for="J-start">招聘计划:</label>
						<div class="ui-form-content">
							<select name="jobpost" class="BigStatic">
							<option value="0" selected="selected">请选择计划</option>
							<?php 
echo get_job_option($jobpost);
?>
							</select>
						</div>
						
						<label class="ui-form-label" for="J-start">录用岗位:</label>
						<div class="ui-form-content">
Example #8
0
?>
">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent">调动前部门:</td>
      <td class="TableData" >
	  <?php 
echo get_depabox(1, 'toa_7_TRAN_DEPT_BEFORE', get_human_db($blog['id'], "toa_7_TRAN_DEPT_BEFORE"), "+选择", 100, 20);
?>
             
      </td>
      <td nowrap class="TableContent">调动后部门:</td>
      <td class="TableData">
    	 <?php 
echo get_depabox(1, 'toa_7_TRAN_DEPT_AFTER', get_human_db($blog['id'], "toa_7_TRAN_DEPT_AFTER"), "+选择", 100, 20);
?>
     
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent">调动手续办理:</td>
      <td class="TableData" colspan=3>
        <textarea name="toa_7_MATERIALS_CONDITION" cols="70" rows="3" class="BigInput" value=""><?php 
echo get_human_db($blog['id'], "toa_7_MATERIALS_CONDITION");
?>
</textarea>
      </td>
    </tr>
   <tr>
      <td nowrap class="TableContent">调动原因:</td>
Example #9
0
        <?php 
echo get_human_date('toa_8_REAPPOINTMENT_TIME_FACT', get_human_db($blog['id'], "toa_8_REAPPOINTMENT_TIME_FACT"));
?>
      </td>
    </tr>    
    <tr>
      <td nowrap class="TableContent">工资恢复日期:</td>
      <td class="TableData">
        <?php 
echo get_human_date('toa_8_FIRST_SALARY_TIME', get_human_db($blog['id'], "toa_8_FIRST_SALARY_TIME"));
?>
      </td>
      <td nowrap class="TableContent">复职部门:</td>
      <td class="TableData" colspan=3>
    	 <?php 
echo get_depabox(1, 'toa_8_REAPPOINTMENT_DEPT', get_human_db($blog['id'], "toa_8_REAPPOINTMENT_DEPT"), "+选择", 100, 20);
?>
     	
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent">复职手续办理:</td>
      <td class="TableData" colspan=3>
        <textarea name="toa_8_MATERIALS_CONDITION" cols="70" rows="3" class="BigInput" value=""><?php 
echo get_human_db($blog['id'], "toa_8_MATERIALS_CONDITION");
?>
</textarea>
      </td>
    </tr>
	<tr>
      <td nowrap class="TableContent">备注:</td>
Example #10
0
      <td nowrap class="TableContent" width="15%"> 招聘人数:<?php 
get_helps();
?>
</td>
      <td class="TableData">
      <input type="text" name="jobnum" class="BigInput" size="15" value="" onKeyUp="value=value.replace(/[^0-9^.]/g,'');" /> 人</td>
    </tr>
	
    <tr>
      <td nowrap class="TableContent" width="15%"> 招聘部门:<?php 
get_helps();
?>
</td>
      <td class="TableData">
      <?php 
get_depabox(2, "department", "", "+选择部门", 60, 3);
?>
</td>
    </tr>
	
	<tr>
      <td nowrap class="TableContent"> 附件文档:</td>
      <td class="TableData">
<?php 
echo public_upload('appendix', '');
?>
      </td>
    </tr>
	
	
</table>
Example #11
0
function form_edit($name, $mod, $viewid)
{
    if ($name != '') {
        echo '<table class="TableBlock" border="0" width="90%" align="center">	';
        echo '<tr>';
        echo '<td nowrap class="TableHeader" colspan="4">' . $name . '</td>';
        echo '</tr>';
    } else {
        echo '<table class="TableBlock" border="0" width="90%" style="border-top:0px;" align="center">	';
    }
    echo '<tr>';
    global $db;
    $num = $db->result("SELECT COUNT(*) AS num FROM " . DB_TABLEPRE . "crm_form where type1='" . $mod . "' and inputtype!='2' ORDER BY inputnumber Asc");
    $query = $db->query("SELECT * FROM " . DB_TABLEPRE . "crm_form where type1='" . $mod . "' and inputtype!='2' ORDER BY inputnumber Asc");
    $n = 0;
    while ($row = $db->fetch_array($query)) {
        $n++;
        echo '<td nowrap class="TableContent" width="15%">' . $row["formname"] . ':';
        if ($row["confirmation"] == '1') {
            get_helps();
        }
        echo '</td><td class="TableData">';
        $name = $row["inputname"];
        $value = crm_db($viewid, $row['inputname'], $mod);
        $w = $row["w"];
        $h = $row["h"];
        if ($row["type"] == '0') {
            if ($row["inputtype"] == '1') {
                echo crm_input($name, $value, $w, $h);
            } elseif ($row["inputtype"] == '2') {
                crm_textarea($name, $value, $w, $h);
            } elseif ($row["inputtype"] == '3') {
                echo crm_radio($name, $row["inputvaluenum"], $value);
            } elseif ($row["inputtype"] == '4') {
                echo crm_checkbox($name, $row["inputvaluenum"], $value);
            } elseif ($row["inputtype"] == '5') {
                echo crm_select($name, $row["inputvaluenum"], $value, $w, $h);
            }
        } elseif ($row["type"] == '1') {
            public_upload($name, $value, $w, $h, '图片上传');
        } elseif ($row["type"] == '2') {
            public_upload($name, $value, $w, $h);
        } elseif ($row["type"] == '3') {
            echo crm_date($name, $w, $h, $value);
        } elseif ($row["type"] == '4') {
            if ($w == '' || $w == '0') {
                $w = '40';
            }
            if ($h == '' || $h == '0') {
                $h = '4';
            }
            get_depabox(2, $name, $value, "+选择部门", $w, $h);
        } elseif ($row["type"] == '5') {
            if ($w == '' || $w == '0') {
                $w = '40';
            }
            if ($h == '' || $h == '0') {
                $h = '4';
            }
            get_pubuser(2, $name, $value, "+选择人员", $w, $h);
        }
        echo '</td>';
        if ($n % 2 == 0) {
            echo '</tr><tr>';
        }
        if ($num == $n && $num % 2 != 0) {
            echo '<td nowrap class="TableContent" width="15%"> </td>
		  <td class="TableData"></td>';
        }
    }
    echo '</tr>';
    echo '</table>';
}