本文整理汇总了PHP中get_helps函数的典型用法代码示例。如果您正苦于以下问题:PHP get_helps函数的具体用法?PHP get_helps怎么用?PHP get_helps使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_helps函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: form_edit_eweb
form_edit_eweb('crm_business', $view['id']);
$user = $db->fetch_one_array("SELECT id,name FROM " . DB_TABLEPRE . "crm_contact WHERE type1 = '1' and cid='" . $view['id'] . "' and type=2 ");
?>
<input type="hidden" name="pid" value="<?php
echo $user['id'];
?>
" />
<table class="TableBlock" border="0" width="90%" align="center" style="margin-top:20px; ">
<tr>
<td nowrap class="TableHeader" colspan="4">联系人信息</td>
</tr>
<tr>
<td nowrap class="TableContent" width="15%">
姓名:<?php
get_helps();
?>
</td>
<td class="TableData" width="35%"><input name="name" type="text" class="BigInput" id="name" style="width: 200px;" value="<?php
echo $user['name'];
?>
" maxlength="100" /></td>
<td class="TableContent" width="15%"> </td>
<td class="TableData" width="35%">
</td>
</tr>
</table>
<?php
//引入表单
form_edit('', 'crm_contact', $user['id']);
//引入编辑器
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:business_edit.php
示例2: create_help_table
function create_help_table()
{
$return = "<table class='seufolios'> \n <tr><th>Key</th><th>Content</th><th></th></tr>";
$helps = get_helps();
foreach ($helps as $help) {
$return .= "<tr id='row_{$help->id}'><td>{$help->help_key}</td><td>{$help->content}</td><td><button onclick='editHelp(\"{$help->id}\");'>Edit</button></td></tr>\n";
}
$return .= "</table>\n";
return $return;
}
开发者ID:ryanshoover,项目名称:seufolios,代码行数:10,代码来源:help.php
示例3: crm_flow_add
function crm_flow_add($modid = '')
{
global $db;
$flow = $db->fetch_one_array("SELECT * FROM " . DB_TABLEPRE . "crm_flow WHERE modid = '" . $modid . "' and flownum>1");
echo '<table class="TableBlock" border="0" width="90%" align="center">
<tr>
<td nowrap class="TableHeader" colspan="2"><b> 审批人员</b></td>
</tr>
<tr>
<td nowrap class="TableContent" width="15%">
设置审批人员:';
get_helps();
echo '</td>
<td class="TableData">
<input type="hidden" name="flowid" value="' . $flow['fid'] . '" />
<input type="hidden" name="appkey" value="' . $flow['flowkey2'] . '" />
<input type="hidden" name="appkey1" value="' . $flow['flowkey3'] . '" />';
if ($flow['flowkey2'] == '2') {
//单人审批
if ($flow['flowkey1'] == '1') {
//可选
get_pubuser(1, "userkey", '', "+选择审批人员", 120, 20);
} else {
get_pubuser(1, "userkey", '', "+选择审批人员", 120, 20, $flow['flowuser']);
}
} else {
if ($flow['flowkey1'] == '1') {
//可选
get_pubuser(2, "userkey", $flow['flowuser'], "+选择审批人员", 40, 4);
} else {
echo "<textarea name='userkey' cols='40' rows='4'";
echo " readonly style='background-color:#F5F5F5;color:#006600;'>";
echo $flow['flowuser'] . "</textarea>";
echo "<input type='hidden' name='userkeyid' value='" . get_realid($flow['flowuser']) . "' />";
}
}
echo ' <br>';
get_smsbox("审批人员", "work");
echo '<br>
注:流程第一步审批人员,这里选择你的下一级办理人,必需填写!
</td>
</tr>
</table>';
}
开发者ID:haogm123,项目名称:ydoa,代码行数:44,代码来源:function_crm.php
示例4: form_edit_eweb
function form_edit_eweb($mod, $viewid)
{
echo '<table width="90%" style="border-left:#4686c6 solid 1px;border-right:#ccc solid 1px;border-bottom:#ccc solid 1px;margin-bottom:20px;" align="center">';
global $db;
$query = $db->query("SELECT * FROM " . DB_TABLEPRE . "crm_form where type1='" . $mod . "' and inputtype='2' ORDER BY inputnumber Asc");
while ($row = $db->fetch_array($query)) {
echo '<tr>';
echo ' <td nowrap style="border-right:#cccccc solid 1px;padding-left:3px;border-bottom:#ccc solid 1px;background:#f2f8ff;" width="15%"> ' . $row["formname"] . ':';
if ($row["confirmation"] == '1') {
get_helps();
}
echo '</td>';
echo ' <td style="padding-top:10px; padding-bottom:10px; padding-left:3px;background:#fff;border-bottom:#ccc solid 1px;">';
$name = $row["inputname"];
$value = crm_db($viewid, $row['inputname'], $mod);
$w = $row["w"];
$h = $row["h"];
if ($row["type"] == '0') {
echo crm_textarea($name, $value, $w, $h);
}
echo '</td></tr>';
}
echo '</table>';
}
开发者ID:haogm123,项目名称:ydoa,代码行数:24,代码来源:form.php
注:本文中的get_helps函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论