本文整理汇总了PHP中FileLink函数的典型用法代码示例。如果您正苦于以下问题:PHP FileLink函数的具体用法?PHP FileLink怎么用?PHP FileLink使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了FileLink函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: StatGraph
function StatGraph($ID = false, $Filename = false)
{
global $nsProduct, $nsTemplate, $Lang;
if (!$ID) {
$ID = time();
}
$this->ID = $ID;
if (!$Filename) {
$Filename = "graph1.swf";
}
$this->Path = FileLink("graph/" . $Filename);
//$this->Path=PATH."/skins/".$nsProduct->SKIN."/graph/".$Filename;
$this->ZoneCnt = 5;
$this->Vars = array();
$this->Vars['choose_text'] = $Lang['ChooseGraphType'];
// Flash/GD
$this->DumpMode = "Flash";
$this->Display = false;
$this->CanDump = false;
$this->Name = false;
}
示例2: count
echo " ";
}
?>
</td>
<?php
}
?>
</tr>
<tr>
<td width="100%" height="1" colspan="<?php
echo count($FldNames);
?>
" bgcolor="#E1E1E1">
<p><img src="<?php
echo FileLink("images/0.gif");
?>
" width="1" height="1" border="0"></p>
</td>
</tr>
<?php
}
?>
</table>
<?php
} else {
include $nsTemplate->Inc("inc/no_records");
}
?>
示例3: FileLink
<?php
include $nsTemplate->Inc("inc/header");
include $nsTemplate->Inc("inc/submenu");
?>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr><td width=18%>
</td><td width=82%>
<table cellpadding=6 cellspacing=0 border=0 width=100%>
<tr>
<td valign=top width=32><p><IMG SRC="<?php
echo FileLink("images/admin_track.gif");
?>
" WIDTH="32" align=middle vspace=2 hspace=5 HEIGHT="24" BORDER="0" ALT=""></p></td>
<td width="100%" valign="top"><span class=SectionName><?php
echo $Lang['Title2'];
?>
</span>
<table width=100% cellpadding=0 cellspacing=0 border=0 class=SectionTable>
<tr><td class=SectionTd>
<a href="<?php
echo getURL("group_order", "Mode=NATURAL&CompanyId={$CpId}", "admin");
?>
"><?php
echo $Lang['NaturalOrder'];
?>
示例4: getURL
</a></span><br>
<?php
echo $Lang['VisPathsDescr'];
?>
</td></tr>
<?php
if ($Settings['All']->FRAUD_ENABLE) {
?>
<tr>
<td valign=top><p><a href="<?php
echo getURL("compare", "CpId={$CpId}&SiteId={$SiteId}", "report");
?>
"><IMG SRC="<?php
echo FileLink("images/logs_compare.gif");
?>
" WIDTH="32" align=middle hspace=5 vspace=3 HEIGHT="28" BORDER="0" ALT=""></a></p></td>
<td width="50%" valign="top" style="border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#E6E6E6;"><span class=SectionName>
<a href="<?php
echo getURL("compare", "CpId={$CpId}&SiteId={$SiteId}", "report");
?>
"><?php
echo $Lang['Compare'];
?>
</a></span><br>
<?php
echo $Lang['CompareDescr'];
?>
</td>
<td valign=top><p></p></td>
示例5: MenuTab
function MenuTab($Name, $Url, $Selected = false, $Img = false, $Width = false, $Height = false)
{
if (!$Selected) {
?>
<td class=TabsBorder2 align=center>
<p class=TabsMenu><a href="<?php
echo $Url;
?>
">
<?php
if ($Img) {
?>
<IMG SRC="<?php
echo FileLink("images/small_icon_" . $Img . ".gif");
?>
" WIDTH="<?php
echo $Width;
?>
" HEIGHT="<?php
echo $Height;
?>
" BORDER="0" title="<?php
echo $Name;
?>
">
<?php
}
?>
<?php
echo $Name;
?>
</a></p>
</td>
<?php
}
if ($Selected) {
?>
<td align=left>
<table width=100% cellpadding=0 cellspacing=0 border=0 height=27>
<tr><td valign=top width=9>
<p><img src="<?php
echo FileLink("images/corn_02.gif");
?>
" width="9" height="27" border="0"></p>
</td><td align=center style="border-top-color:#86c71d;border-top-style:solid;border-top-width:1px;border-bottom-color:#ffffff;border-bottom-style:solid;border-bottom-width:2px;">
<p class=TabsMenuSel><a href="<?php
echo $Url;
?>
">
<?php
if ($Img) {
?>
<IMG SRC="<?php
echo FileLink("images/small_icon_" . $Img . "-a.gif");
?>
" WIDTH="<?php
echo $Width;
?>
" HEIGHT="<?php
echo $Height;
?>
" BORDER="0" title="<?php
echo $Name;
?>
">
<?php
}
?>
<?php
echo $Name;
?>
</a></p>
</td><td valign=top width=9>
<p><img src="<?php
echo FileLink("images/corn_03.gif");
?>
" width="9" height="27" border="0"></p>
</td></tr>
</table>
</td>
<?php
}
}
示例6: FileLink
</a>
</td></tr>
</table>
</td></tr>
<?php
}
?>
<?php
if ($nsUser->ADMIN || $nsUser->SUPER_USER && $nsProduct->LICENSE != 3) {
?>
<tr>
<td valign=top width=32><p><IMG SRC="<?php
echo FileLink("images/admin_general.gif");
?>
" WIDTH="32" align=middle hspace=5 HEIGHT="28" BORDER="0" ALT=""></p></td>
<td width="100%" valign="top"><span class=SectionName><?php
echo $Lang['ProgramSets'];
?>
</span>
<table width=100% cellpadding=0 cellspacing=0 border=0 class=SectionTable>
<tr><td class=SectionTd>
<a href="<?php
echo getURL("misc_config", "", "admin");
?>
"><?php
echo $Lang['GeneralSets'];
示例7: getURL
">
<?php
echo $Row->PATH;
?>
- <?php
echo $Row->NAME;
?>
</a>
<a href="<?php
echo getURL("actions", "Mode=new&EditId=new&SiteId={$HostId}&CpId={$CpId}&PageId=" . $Row->ID, "admin");
?>
" title="<?php
echo $Lang['CreateAction'];
?>
"><IMG SRC="<?php
echo FileLink("images/small_icon_actions-a.gif");
?>
" WIDTH="4" HEIGHT="8" BORDER="0" ALT=""></a>
</td></tr>
<?php
}
?>
<tr><td colspan=2>
<?php
echo $Pages->Dump();
?>
</td></tr>
</table>
示例8: GetForm
</SCRIPT>
<?php
echo GetForm(false, "CpId={$CpId}", false, "ID=\"DisableHelpForm\"");
?>
<input type=hidden name="DisableHelp" value=1>
</form>
<div ID="HelpBlock" style="display:<?php
echo $Consult->Display;
?>
">
<div class=ConsultBlock>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr><td width=11><p><IMG SRC="<?php
echo FileLink("images/corn_05.gif");
?>
" WIDTH="11" HEIGHT="2" BORDER="0" ALT=""></p>
</td><td width=100% bgcolor="#86C71D">
</td><td width=142 bgcolor="#86C71D">
</td></tr>
<tr><td width=11 bgcolor="#86C71D" valign=top align=center><p><IMG SRC="<?php
echo FileLink("images/0.gif");
?>
" WIDTH="1" HEIGHT="14" BORDER="0" ALT=""><IMG SRC="<?php
echo FileLink("images/arrow_03.gif");
?>
" WIDTH="3" HEIGHT="5" BORDER="0" ALT=""></p>
</td><td width=100% style="padding:5px;">
示例9: DumpArrows
function DumpArrows()
{
global $nsLang, $nsTemplate;
$Lang = $nsLang->TplReturn("pagenums.class");
echo "<tr><td align=center><IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\">";
if ($this->PageCurrent > 0) {
$Prev = $this->Filename;
if (MOD_R) {
$Prev .= "?";
}
$Prev .= $this->StartStr . "=0";
$Prev .= "&" . $this->CurStr . "=0";
$Prev .= $this->Args;
if (!$this->NoPrevPrev) {
echo "<span title=\"" . $Lang['First'] . "\" class=\"" . $this->PrevNextClass . "\"><a href=\"" . $Prev . "\"><IMG SRC=\"" . FileLink("images/page_first.gif") . "\" WIDTH=11 HEIGHT=11 BORDER=0 ALT=\"\"> " . $Lang['First'] . "</a></span><IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\">";
}
$Prev = $this->Filename;
if (MOD_R) {
$Prev .= "?";
}
$Prev .= $this->StartStr . "=" . ($this->PageCurrent - 1) * $this->Limit;
$Prev .= "&" . $this->CurStr . "=" . ($this->PageCurrent - 1);
$Prev .= $this->Args;
if (!$this->NoPrev) {
echo "<span title=\"" . $Lang['Prev'] . "\" class=\"" . $this->PrevNextClass . "\"><a href=\"" . $Prev . "\"><IMG SRC=\"" . FileLink("images/page_prev.gif") . "\" WIDTH=11 HEIGHT=11 BORDER=0 ALT=\"\"> " . $Lang['Prev'] . "</a></span><IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\">";
}
}
$To = $this->PageStart + $this->Limit;
if ($To > $this->RecCount) {
$To = $this->RecCount;
}
echo " <span style=\"font-size:10px;\">" . ($this->PageStart + 1) . " — {$To} " . $Lang['Of'] . " " . $this->RecCount . "</span> ";
if ($this->PageCurrent < $this->Pages - 1) {
$Prev = $this->Filename;
if (MOD_R) {
$Prev .= "?";
}
$Prev .= $this->StartStr . "=" . ($this->PageCurrent + 1) * $this->Limit;
$Prev .= "&" . $this->CurStr . "=" . ($this->PageCurrent + 1);
$Prev .= $this->Args;
if (!$this->NoNext) {
echo "<IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\"><span title=\"" . $Lang['Next'] . "\" class=\"" . $this->PrevNextClass . "\"><a href=\"" . $Prev . "\">" . $Lang['Next'] . " <IMG SRC=\"" . FileLink("images/page_next.gif") . "\" WIDTH=11 HEIGHT=11 BORDER=0 ALT=\"\"></a></span><IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\">";
}
$Prev = $this->Filename;
if (MOD_R) {
$Prev .= "?";
}
$Prev .= $this->StartStr . "=" . ($this->Pages - 1) * $this->Limit;
$Prev .= "&" . $this->CurStr . "=" . ($this->Pages - 1);
$Prev .= $this->Args;
if (!$this->NoNextNext) {
echo " <span title=\"" . $Lang['Last'] . "\" class=\"" . $this->PrevNextClass . "\"><a href=\"" . $Prev . "\">" . $Lang['Last'] . " <IMG SRC=\"" . FileLink("images/page_last.gif") . "\" WIDTH=11 HEIGHT=11 BORDER=0 ALT=\"\"></a></span><IMG SRC=\"" . FileLink("images/0.gif") . "\" WIDTH=10 HEIGHT=1 BORDER=0 ALT=\"\">";
}
}
echo "</td></tr>";
}
示例10: GetForm
<?php
echo GetForm(false, "CpId={$CpId}", false, "ID=\"DisableForm\"");
?>
<input type=hidden name="DisableContext" value=1>
</form>
<td><p align=center><IMG SRC="<?php
echo FileLink("images/close_07.gif");
?>
" WIDTH="7" HEIGHT="7" BORDER="0" ALT=""></p></td>
<td width=118>
<p class=ContextClose><a href="javascript:;" onclick="CloseHelpLink();">закрыть</a></p>
</td></tr>
<tr><td><p align=center><IMG SRC="<?php
echo FileLink("images/close_08.gif");
?>
" WIDTH="10" HEIGHT="8" BORDER="0" ALT=""></p></td>
<td width=118>
<p class=ContextClose><a href="javascript:;" onclick="var Obj=GetObj('DisableForm'); Obj.submit();">больше не показывать</a></p>
</td></tr>
</table>
</td>
</tr>
</table>
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
示例11: AddJava
function AddJava($File, $Alt, $Java)
{
if (!$File) {
return false;
}
$Button = "<td bgcolor=\"" . $this->TDBg . "\" class=\"" . $this->TDClass . "\" ";
if ($this->MouseOverEnabled) {
if ($this->MouseOverEvent) {
$Button .= " onmouseover=\"" . $this->MouseOverEvent . "\" ";
}
if ($this->MouseOutEvent) {
$Button .= " onmouseout=\"" . $this->MouseOutEvent . "\" ";
}
}
$Button .= " >\n";
$Button .= "<a href=\"javascript:;\" {$Java} class=\"" . $this->AClass . "\">\n";
$Button .= "<img src=\"" . FileLink("buttons/" . $File) . "\" width=" . $this->ImgWidth . " height=" . $this->ImgHeight . " border=" . $this->ImgBorder . " alt=\"{$Alt}\" title=\"{$Alt}\" class=\"" . $this->ImgClass . "\">";
$Button .= "</a></td>\n";
$this->DoAdd($Button);
}
示例12: getURL
<?php
}
?>
<a href="<?php
echo getURL("company", "EditId={$EditId}&HostId=" . $Row->ID);
?>
">
<?php
echo $Row->HOST;
?>
</a>
</B> [ <a href="<?php
echo getURL("get_code", "CpId={$EditId}&SiteId=" . $Row->ID, "admin");
?>
"><IMG SRC="<?php
echo FileLink("images/icon_code.gif");
?>
" WIDTH="13" HEIGHT="10" BORDER="0" ALT=""> <?php
echo $Lang['SiteCode'];
?>
</a>]
</td>
<td align=right>
<?php
$nsButtons->PostName = false;
$nsButtons->Add("edit.gif", $Lang['Edit'], getURL("company", "EditId={$EditId}&HostId=" . $Row->ID));
$nsButtons->Add("delete.gif", $Lang['Delete'], getURL("company", "EditId={$EditId}&DeleteHost=" . $Row->ID), $Lang['SiteDelWarning']);
$nsButtons->Dump();
?>
</td>
示例13: getURL
<a href="<?php
echo getURL("incampaign", "CampId=" . $Row->ID);
?>
">
<B><?php
echo $Row->NAME;
?>
</B></a>
<span style="font-size:10px;color:#86C71D">(<a href="<?php
echo getURL("paid_constructor", "GrpId=" . $Row->ID, "report");
?>
" style="font-size:10px;color:#86C71D"><?php
echo $Lang['Stat'];
?>
<IMG SRC="<?php
echo FileLink("images/icon_ref_stat.gif");
?>
" WIDTH="8" HEIGHT="8" BORDER="0" ALT=""></a> )</span>
<a href="<?php
echo getURL("incampaign", "CampId=" . $Row->ID);
?>
">
<?php
if ($Row->DESCRIPTION) {
?>
<br>
<span class=ListDescr><?php
echo $Row->DESCRIPTION;
?>
</span>
示例14: getURL
echo " <span class=LogRefGrp><B>[";
echo "<a href=\"" . getURL("paid_constructor", "CpId=" . $Row->COMPANY_ID . "&CampId=" . $Row->CAMP_ID, "report") . "\">";
echo $Row->CAMP_NAME;
echo " <IMG SRC=\"" . FileLink("images/icon_ref_stat.gif") . "\" WIDTH=8 HEIGHT=8 BORDER=0> </a>]</B></span> ";
if ($Row->CAMP_KEYWORD) {
echo " <span class=LogRefGrp>[";
echo "<a href=\"" . getURL("paid_constructor", "CpId=" . $Row->COMPANY_ID . "&WhereArr[0][Mode]=Camp&WhereArr[0][Id]=" . $Row->CAMP_ID . "&GroupBy=CampKey", "report") . "\">";
echo $Row->CAMP_KEYWORD . "</a>]</span> ";
}
}
?>
<?php
if ($Row->SPLIT_ID > 0) {
echo " <span class=LogRefGrp><B>[";
echo "<a href=\"" . getURL("natural_constructor", "CpId=" . $Row->COMPANY_ID . "&WhereArr[0][Mode]=Split&WhereArr[0][Id]=" . $Row->SPLIT_CAMP_ID . "&GroupBy=Page", "report") . "\">";
echo $Row->SPLIT_NAME . " <IMG SRC=\"" . FileLink("images/small_icon_split-a.gif") . "\" WIDTH=13 HEIGHT=8 BORDER=0> </a>]</B></span>";
}
?>
<?php
if ($ViewNode) {
?>
<span style="font-size:10px;">[Node: <a <?php
echo $Row->NODE_START ? "name=\"Node" . $Row->COOKIE_LOG . "\"" : "";
?>
href="#Node<?php
echo $Row->COOKIE_LOG;
?>
"><?php
echo $Row->NODE_START ? "<b>" : "";
echo $Row->COOKIE_LOG;
示例15: isset
;
var MaxYear=<?php
echo isset($MaxYear) ? $MaxYear : date('Y');
?>
;
var CloseAfterSelect=true;
var CalendarShowed=true;
var PrevReturnField=false;
var TodayIs="<?php
echo $Lang['TodayIs'];
?>
";
var SelectedTZ=false;
if (getCookie('<?php
echo COOKIE_PFX;
?>
auto_tz')) SelectedTZ=0;
else SelectedTZ = <?php
echo $nsUser->TZ;
?>
;
</SCRIPT>
<script language="JavaScript" src="<?php
echo FileLink("calendar.js");
?>
"></script>