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


PHP get_urlkey函数代码示例

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


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

示例1: get_position_list_save_view

function get_position_list_save_view($fatherid = 0, $selid = 0, $layer = 0, $ac, $fileurl)
{
    global $db;
    $sql = "SELECT * FROM " . DB_TABLEPRE . "goods_type where father='{$fatherid}'    ORDER BY id Asc";
    $query = $db->query($sql);
    if (count($query) > 0) {
        for ($i = 0; $i < $layer; $i++) {
            $str .= "&nbsp;&nbsp;&nbsp;&nbsp;";
        }
        while ($row = $db->fetch_array($query)) {
            $rsfno = $db->fetch_one_array("SELECT * FROM " . DB_TABLEPRE . "goods_type where father='" . $row[id] . "'    ORDER BY id asc limit 0,1");
            echo '<tr class="hover">';
            echo '<td class="td25"></td>';
            echo '<td class="td25">' . get_realname($row['uid']) . '';
            echo '<td><div class="board">' . $str . $row['title'] . '</div></td>';
            echo '<td width="160">';
            get_urlkey("编辑", "admin.php?ac=goods_type_edit&do=edit&fileurl=goods&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
            if ($rsfno[id] == '') {
                echo '&nbsp;|&nbsp;';
                get_urlkey("删除", "admin.php?ac=goods_type&fileurl=goods&do=delete&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
            }
            echo '</td></tr>';
            if ($rsfno[id] != '') {
                get_position_list_save_view($row['id'], $selid, $layer + 1, $ac, $fileurl);
            }
        }
    }
    return;
}
开发者ID:haogm123,项目名称:ydoa,代码行数:29,代码来源:mod_goods_type.php

示例2: get_realname

</td>
<td class="info"><?php 
    echo $row['jobnum'];
    ?>
</td>
<td class="info"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td class="action">
<?php 
    get_urlkey("编辑", "admin.php?ac=job_demand_edit&fileurl=jobs&do=edit&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
					<div class="fn-clear">
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:job_demand.php

示例3: get_realname

<?php 
    }
    ?>

</td>
<td class="info"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td class="action">
<?php 
    get_urlkey("编辑", "admin.php?ac=" . $ac . "&fileurl=" . $fileurl . "&do=add&type=" . $_GET['type'] . "&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
					<div class="fn-clear">
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:documentlist.php

示例4: get_realname

    ?>
	  </td>
    <td align="left" class="TableData">
	  <?php 
    echo $row['tplid'] . '_' . $row["tpladdr"];
    ?>
</td>
	  
    <td align="center" class="TableData">
	 <?php 
    echo get_realname($row['uid']);
    ?>
	  </td>
    <td align="center" class="TableData">
	  <?php 
    get_urlkey("编辑", "admin.php?ac=" . $ac . "&do=edit&fileurl=" . $fileurl . "&tplid=" . $row['tplid'] . "&typeid=" . $row['typeid'] . "&modid=" . $row['modid'] . "", "" . $row['uid'] != $_USER->id);
    ?>
 | 
<a href="admin.php?ac=form&fileurl=<?php 
    echo $fileurl;
    ?>
&tplid=<?php 
    echo $row['tplid'];
    ?>
&formtype=3&typeid=<?php 
    echo $row['typeid'];
    ?>
&modid=<?php 
    echo $row['modid'];
    ?>
">表单管理</a> | 
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:template.php

示例5: get_realname

        echo "未完成";
    }
    ?>
</td>
<td class="info"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td class="action">
<?php 
    get_urlkey("编辑", "admin.php?ac=" . $ac . "&fileurl=" . $fileurl . "&do=add&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    if ($row['completiondate'] == '') {
        ?>
|
<?php 
        get_urlkey("完成", "admin.php?ac=" . $ac . "&fileurl=" . $fileurl . "&do=enddate&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    }
    ?>
</td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
开发者ID:haogm123,项目名称:ydoa,代码行数:30,代码来源:planlist.php

示例6: get_realname

    ?>
</span><?php 
    echo $row['unit'];
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td width="80"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td width="60">
<?php 
    get_urlkey("编辑", "admin.php?ac=edit&do=list&fileurl=goods&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>						
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
					<div class="fn-clear">
						<!-- 图释 -->
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:index.php

示例7: get_human_db

</td>
<td class="info"><?php 
    echo get_human_db($row['id'], "toa_8_NOW_POSITION");
    ?>
</td>
<td class="info"><?php 
    echo get_human_db($row['id'], "toa_8_REAPPOINTMENT_DEPT");
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td width="120">
<?php 
    get_urlkey("编辑", "admin.php?ac=" . $fileurl . "add&fileurl=" . $fileurl . "&do=edit&id=" . $row['id'] . "&type=" . $type . "", "" . $row['uid'] != $_USER->id && $row['workuser'] != $_USER->id . "");
    ?>
 | 
<a href="admin.php?ac=humanlist&do=view&fileurl=human&id=<?php 
    echo $row['id'];
    ?>
&type=<?php 
    echo $type;
    ?>
">查看</a>
</td>
									
</tr>
<?php 
}
?>
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:humanlist8.php

示例8: get_urlkey

    ?>
</td>
			<td><div class="parentboard"><?php 
    echo $row['title'];
    ?>
</div></td>
			
			<td width="160"><?php 
    get_urlkey("编辑", "admin.php?ac=file_type_edit&do=edit&fileurl=file&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
		  <?php 
    if ($rsfnow[id] == '') {
        ?>
		   | 
		   <?php 
        get_urlkey("删除", "admin.php?ac=file_type&fileurl=file&do=delete&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
        ?>
		   <?php 
    }
    ?>
</td>
			</tr>
			
<!--view-->

<?php 
    if ($rsfnow[id] != '') {
        //get_ArticleSorts_list($row['id'],0,0,$_USER->id);
        get_position_list_save($row['id'], 0, 0, $ac, $fileurl);
    }
    ?>
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:file_type.php

示例9: elseif

    if ($row["confirmation"] == '1') {
        echo '<font color=red>是</font>';
    } elseif ($row["confirmation"] == '2') {
        echo '<font color=#006600>否</font>';
    }
    ?>
</td>
<td align="center" class="TableData">
	  <?php 
    echo get_realname($row['uid']);
    ?>
	  </td>
	  <td align="center" class="TableData">
	  <?php 
    //if($tpl['temptype']!='1'){
    get_urlkey("编辑", "admin.php?ac=" . $ac . "&do=add&fileurl=" . $fileurl . "&fromid=" . $row['fromid'] . "&tplid=" . $tplid . "&typeid=" . $typeid . "&flowid=" . $flowid . "&formtype=" . $formtype . "", "" . $row['uid'] != $_USER->id);
    //}
    ?>
	  </td>
    </tr>
	<?php 
}
?>
	<tr align="center" class="TableControl">
			<td colspan="10" align="left" nowrap>
			  <input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /> 全选 &nbsp;&nbsp;<input type="submit" name="do" id="button" class="BigButtonBHover" value="排 序"/> &nbsp;&nbsp;<input type="submit" name="do" id="button" class="BigButtonBHover" value="删 除"/><?php 
echo showpage($num, $pagesize, $page, $url);
?>
	  </td>
	  </tr>
  </table>
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:form.php

示例10: get_realname

    ?>
</td>
<td width="90"><?php 
    echo $row['fax'];
    ?>
</td>
<td class="info"><?php 
    echo $row['mail'];
    ?>
</td>
<td width="50"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td width="50"><?php 
    get_urlkey("编辑", "admin.php?ac=edit&fileurl=communication&do=edit&type=" . $_GET[type] . "&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
					<div class="fn-clear">
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:index.php

示例11: get_realname

</td>
<td class="info"><?php 
    echo $row['price'];
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td class="info"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td class="action">
<?php 
    get_urlkey("编辑", "admin.php?ac=" . $ac . "&fileurl=" . $fileurl . "&do=add&rid=" . $id . "&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
											</div>
					
					<div class="fn-clear">
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:training_recordlist.php

示例12: get_realname

    } else {
        echo "<font color=#006600>己完成</font>";
    }
    ?>
</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td class="info"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td  width="150">
<?php 
    get_urlkey("任务进度管理", "admin.php?ac=duty_log&fileurl=duty&did=" . $row['id'] . "", "" . $row['uid'] != $_USER->id && $row['user'] != get_realname($_USER->id));
    ?>
 | <a href="admin.php?ac=duty_views&fileurl=duty&did=<?php 
    echo $row['id'];
    ?>
">查看任务</a></td>
									
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
 
开发者ID:haogm123,项目名称:ydoa,代码行数:30,代码来源:duty.php

示例13: get_realname

</td>
<td class="info"><?php 
    echo $row['date'];
    ?>
</td>
<td width="80"><?php 
    echo get_realname($row['uid']);
    ?>
</td>
<td width="140">
<a href="admin.php?ac=views&do=edit&fileurl=property&id=<?php 
    echo $row['id'];
    ?>
">详情</a> | 
<?php 
    get_urlkey("编辑", "admin.php?ac=edit&do=edit&fileurl=property&id=" . $row['id'] . "", "" . $row['uid'] != $_USER->id);
    ?>
 | 
<a href="#" onClick="window.open ('admin.php?ac=depreciation_view&do=edit&fileurl=property&id=<?php 
    echo $row['id'];
    ?>
', 'newwindow', 'height=500, width=600, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">折旧记录</a>
</td>						
</tr>
<?php 
}
?>
			
																									
</tbody>
		</table>
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:index.php

示例14: elseif

        echo '<font color=#006600>下拉</font>';
    }
    ?>
	  </td>
      <td align="center" class="TableData">
	  <?php 
    if ($row["confirmation"] == '1') {
        echo '<font color=red>是</font>';
    } elseif ($row["confirmation"] == '2') {
        echo '<font color=#006600>否</font>';
    }
    ?>
	  </td>

      <td align="center" class="TableData"><?php 
    get_urlkey("编辑", "admin.php?ac=human_form_edit&do=list&fileurl=human&id=" . $row['id'] . "&type1=" . $_GET["type1"] . "", "" . $row['uid'] != $_USER->id);
    ?>
</td>
    </tr>
	
<?php 
}
?>
	

	
    <tr align="center" class="TableControl">
      <td height="35" colspan="10" align="left" nowrap>
       <!-- <input type="checkbox" class="checkbox" value="1" name="chkall" onClick="check_all(this)" /><b>全选</b>&nbsp;&nbsp;<input type="submit" name="do" id="button" class="BigButtonBHover" value="删 除"/>&nbsp;&nbsp;<input type="submit" name="do" id="button" class="BigButtonBHover" value="排 序"/> -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
echo showpage($num, $pagesize, $page, $url);
开发者ID:haogm123,项目名称:ydoa,代码行数:31,代码来源:human_form.php


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