• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP freshports_PageBannerText函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: toHTML

 function toHTML()
 {
     $HTML = '';
     if ($this->_ShowLogo) {
         $HTML .= freshports_Logo();
     }
     if ($this->_ShowAnnouncements) {
         $Announcement = new Announcement($this->{$_db});
         $NumRows = $Announcement->FetchAllActive();
         if ($NumRows > 0) {
             $HTML .= DisplayAnnouncements($Announcement);
         }
     }
     $HTML .= freshports_MainTable() . "\n<tr><td width='100%' valign='top'>\n" . freshports_MainContentTable() . "\n<tr>\n" . freshports_PageBannerText($this->_title);
     $this->prependBodyContent($HTML);
     $this->addBodyContent("\n</table><td valign=\"top\">" . freshports_SideBar() . "</td></tr></table>\n" . freshports_ShowFooter());
     return parent::toHTML();
 }
开发者ID:brycied00d,项目名称:freshports,代码行数:18,代码来源:freshports_page.php


示例2: number_format

<li>These statistics are updated daily.
<li><sup>1</sup><a name="1"></a>The number of Google pages used in this calculation is <?php 
echo number_format($GooglePages);
?>
.
</ul>

</td></tr>

<?php 
echo freshports_BannerSpace();
?>

<TR>
	<?php 
echo freshports_PageBannerText("How much diskspace?");
?>
</TR>

<TR><TD>

<P>
The total space used by the FreshPorts database is:
<blockquote><code class="code">
# select pg_database_size('freshports.org');<br>
&nbsp;pg_database_size<br>
------------------<br>
<?php 
$Value = DBSize($db);
echo number_format($Value) . '<br>';
?>
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:how-big-is-it.php


示例3: freshports_PageBannerText

<ul>
<li>www/ports pages
<li>portsmon
<li>fenner's output
<li>GNATS
<li>cvsweb
</ul>

<p>
In short, it doesn't make sense to obscure that which is freely available elsewhere.
	</TD></TR><TR><TD>&nbsp;</TD></TR>

<TR>
<?php 
echo freshports_PageBannerText('Why does the PORTVERSION at the top of page differ from that of the first commit?');
?>
</TR>

   <TR><TD>
   <P>
   This question refers to the a port page.  
   
<p>
This situation usually occurs with MASTER/SLAVE ports.  The Master port is updated with a new
REVISION.  No commit is done against the Slave port.  FreshPorts knows to refresh the Slave port
when its Master port is updated.    This refresh updates the PORTVERSION at the top of the 
page.  This update reflects the REVISION you would get if you were to install the Slave port
now that the Master has been upgraded.

	</TD></TR><TR><TD>&nbsp;</TD></TR>
开发者ID:brycied00d,项目名称:freshports,代码行数:30,代码来源:faq.php


示例4: freshports_Start

require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/common.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/freshports.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/databaselogin.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/getvalues.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/design-voting/voting.php';
$Debug = 0;
$Title = "FreshPorts Design Contest - Voting";
freshports_Start($Title, 'freshports - new ports, applications', 'FreeBSD, index, applications, ports');
echo freshports_MainTable();
?>

<tr><td valign="top" width="100%" colspan="2">
<table width="100%" border="0">
<tr>
    <?php 
echo freshports_PageBannerText($Title);
?>
    </tr>
</table>
</td></tr>
<tr><td valign="top" width="100%">
<?php 
if (!$User->id) {
    echo 'You must login to vote.';
} else {
    if (AlreadyVoted($db, $User->id)) {
        echo 'You have already voted.  Thank you';
    } else {
        ?>
<p>
Read about the <a href="http://news.freshports.org/2007/01/30/freshports-design-contest/">FreshPorts Design Contest</a> first. Then
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:vote.php


示例5: freshports_ErrorMessage

function freshports_ErrorMessage($Title, $ErrorMessage)
{
    $HTML = '
<table width="100%" border="1" align="center" cellpadding="1" cellspacing="0" border="1">
<tr><td valign=TOP>
<table width="100%">
<tr>
	' . freshports_PageBannerText($Title) . '
</tr>
<tr bgcolor="#ffffff">
<td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign=top>
   <td><img src="/images/warning.gif"></td>
   <td width="100%">
  <p>' . "WARNING: {$ErrorMessage}" . '</p>
 <p>If you need help, please ask in the forum. </p>
 </td>
 </tr>
 </table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>';
    return $HTML;
}
开发者ID:brycied00d,项目名称:freshports,代码行数:29,代码来源:freshports.php


示例6: freshports_PortDisplay


//.........这里部分代码省略.........
        if ($ElementID == 0) {
            syslog(LOG_ERR, "Extract of ElementID from cache failed.  Is cache corrupt/deprecated? port was {$category}/{$port}");
            die('sorry, I encountered a problem with the cache.  Please send the URL and this message to the webmaster.');
        }
        if ($User->id) {
            $OnWatchList = freshports_OnWatchList($db, $User->id, $ElementID);
        } else {
            $OnWatchList = 0;
        }
        $HTML = substr($HTML, $EndOfFirstLine + 1);
    } else {
        if ($Debug) {
            echo "found NOTHING in cache for '{$category}/{$port}'<br>\n";
        }
        $HTML = '';
        $port_id = freshports_GetPortID($db, $category, $port);
        if (!isset($port_id)) {
            if ($Debug) {
                echo "{$category}/{$port} is not a port according to freshports_GetPortID<br>\n";
            }
            return -1;
        }
        if ($Debug) {
            echo "{$category}/{$port} found by freshports_GetPortID<br>";
        }
        $MyPort = new Port($db);
        $MyPort->FetchByID($port_id, $User->id);
        $port_display->port = $MyPort;
        $HTML .= $port_display->Display();
        $HTML .= "</TD></TR>\n</TABLE>\n\n";
        $HTML .= DisplayPortCommits($MyPort, $PageNumber);
        # If we are not reading
        if (!$BypassCache || $RefreshCache) {
            $Cache->CacheDataSet($MyPort->{'element_id'} . "\n" . $HTML);
            $Cache->AddPort($MyPort->category, $MyPort->port, CACHE_PORT_DETAIL, $PageNumber);
        }
        $ElementID = $MyPort->{'element_id'};
        $OnWatchList = $MyPort->{'onwatchlist'};
    }
    # At this point, we have the port detail HTML
    $HTML = $port_display->ReplaceWatchListToken($OnWatchList, $HTML, $ElementID);
    global $ShowAds, $BannerAd;
    global $ShowAds;
    global $BannerAd;
    if ($ShowAds && $BannerAd) {
        $HTML_For_Ad = "<hr><center>\n" . Ad_728x90PortDescription() . "\n</center>\n<hr>\n";
    } else {
        $HTML_For_Ad = '';
    }
    $HTML = $port_display->ReplaceAdvertismentToken($HTML, $HTML_For_Ad);
    freshports_ConditionalGetUnix($Cache->LastModifiedGet());
    header("HTTP/1.1 200 OK");
    $Title = $category . "/" . $port;
    require_once $_SERVER['DOCUMENT_ROOT'] . '/../include/getvalues.php';
    freshports_Start($Title, "{$FreshPortsTitle} - new ports, applications", "FreeBSD, index, applications, ports");
    ?>


<?php 
    echo freshports_MainTable();
    ?>

<tr><TD VALIGN="top" width="100%">

<?php 
    echo freshports_MainContentTable();
    ?>

<TR>
<?php 
    echo freshports_PageBannerText("Port details");
    ?>
</TR>

<tr><td valign="top" width="100%">

<?php 
    echo $HTML;
    ?>

</TD>
  <TD VALIGN="top" WIDTH="*" ALIGN="center">
  <?php 
    echo freshports_SideBar();
    ?>
  </td>
</TR>

</TABLE>

<?php 
    echo freshports_ShowFooter();
    ?>

</body>
</html>

<?php 
    return 0;
}
开发者ID:brycied00d,项目名称:freshports,代码行数:101,代码来源:missing-port.php


示例7: icon

?>
) in the
Commit History for any port, you'll see a new link.  This link is represented
by the Revision Details icon (<?php 
echo freshports_Revision_Icon();
?>
).
</P>
</TD></TR>

<?php 
echo freshports_BannerSpace();
?>
<TR>
<?php 
echo freshports_PageBannerText('Expanded search options');
?>
</TR>

<TR><TD>
<P>
The <a href="/search.php">search page</a> now allows you to search by 
the following fields.
<blockquote>
<table cellpadding="5" cellspacing="0" border="0">
<tr><td><b>Field</b></td><td><b>Origin</b></td></tr>
<tr><td>Port Name</td><td><code class="code">PORTNAME</code></td></tr>
<tr><td>Package Name</td><td><code class="code">PKGNAME</code></td></tr>
<tr><td>Latest Link</td><td><code class="code">PKGNAME</code></td></tr>
<tr><td>Maintainer</td><td><code class="code">MAINTAINER</code></td></tr>
<tr><td>Short Description</td><td><code class="code">COMMENT</code></td></tr>
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:release-2004-10.php


示例8: freshports_MainContentTable

    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:searchbox-only></gcse:searchbox-only>
<!-- SiteSearch Google -->

</table>

<br>

<?php 
echo freshports_MainContentTable();
?>
  <tr>
	<?php 
echo freshports_PageBannerText("The FreshPorts Search");
?>
  </tr>
<tr><td valign="top">


<form ACTION="<?php 
echo $_SERVER["PHP_SELF"];
?>
" name="search" >
	<SELECT NAME="stype" size="1">
		<OPTION VALUE="<?php 
echo SEARCH_FIELD_NAME . '"';
if ($stype == SEARCH_FIELD_NAME) {
    echo 'SELECTED';
}
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:search.php


示例9: freshports_PageBannerText

</TD></TR><TR><TD>&nbsp;</TD></TR>

<TR>
	<?php 
echo freshports_PageBannerText("What are these check boxes in my staging area?");
?>
</TR>
<TR><TD>
Your staging area is just a temporary situation.  You must save this information
to your watch list.  You can choose the ports you wish to watch using the
check boxes.  Only selected ports will be saved to your watch list.
</TD></TR><TR><TD>&nbsp;</TD></TR>

<TR>
	<?php 
echo freshports_PageBannerText("Why would I want to clear my staging area?");
?>
</TR>
<TR><TD>
You cannot upload anything to your staging area unless it is empty.  If you 
don't wish to save the data to your watch list, you must first clear
your staging area before uploading again.
</TD></TR>


	
</TABLE>
</TD>

  <TD VALIGN="top" WIDTH="*" ALIGN="center">
	<?php 
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:help.php


示例10: freshports_BannerSpace

FreshPorts will notify you of any problems it encounters when processing a port change
which you committed.  In the past, such problems are related to syntax errors in the Makefile.
</P>

<P>
One committer referred to this service as a automated nagging mentor...
</P>
</TD></TR>

<?php 
echo freshports_BannerSpace();
?>

<TR>
	<?php 
echo freshports_PageBannerText("Your opt-in status");
?>
</TR>

<TR><TD>
<P>
<?php 
if (!empty($visitor)) {
    $sql = "select committer\n\t\t\t  from committer_notify\n\t\t\t where user_id = {$User->id}";
    if ($Debug) {
        echo "sql={$sql}<br>\n";
    }
    $result = pg_exec($db, $sql) or die("determine committer query failed " . pg_errormessage());
    if ($result) {
        echo 'You are: ';
        if ($Debug) {
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:committer-opt-in.php


示例11: require_once

<BR>';
}

if (!IsSet($submit) && !$errors) {
  // provide default values for an empy form.
  require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/getvalues.php');
}

</script>

<?php 
echo freshports_MainContentTable();
?>
      <TR>
		<?php 
echo freshports_PageBannerText("New User Details");
?>
      </TR>
      <TR>
        <TD>

<P><BIG><BIG>Please observe the following points:</BIG></BIG>

<ul>
<li>
You must supply a valid email address. Instructions to enable your account 
will be emailed to you at that address.

<li>If you have a spam filter, please allow all
mail from <CODE CLASS="code">unixathome.org</CODE> and <CODE CLASS="code">freshports.org</CODE>.
开发者ID:brycied00d,项目名称:freshports,代码行数:30,代码来源:new-user.php


示例12: freshports_Start

freshports_Start('Privacy Policy', 'freshports - new ports, applications', 'FreeBSD, index, applications, ports');
?>
	<?php 
echo freshports_MainTable();
?>

	<tr><td valign="top" width="100%">

	<?php 
echo freshports_MainContentTable();
?>


<TR>
	<?php 
echo freshports_PageBannerText('Privacy statement');
?>
</TR>
<TR><TD>

<CENTER>
<?php 
if ($ShowAds) {
    echo Ad_728x90();
}
?>
</CENTER>

<P>All the information we
    gather is for our own use.  We do not release it to anyone else.</P>
    <P>For example, when you subscribe to our mailing list, we
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:privacy.php


示例13: freshports_MainTable

	<script src="jquery.flot.pack.js"></script>
	<script src="graphs.js"></script>

	<?php 
echo freshports_MainTable();
?>

	<tr><td valign="top" width="100%">

	<?php 
echo freshports_MainContentTable();
?>

<TR>
	<?php 
echo freshports_PageBannerText("Statistics - everyone loves a graph");
?>
</TR>

<TR><TD>
<P>
All of these graphs require javascript.  Please select the graph you would like to view from the dropdown.
</P>
<P>
If you have suggestions for graphs, please submit them via the forum.
</P>

<center>
<?php 
if ($ShowAds) {
    echo Ad_728x90();
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:graphs2.php


示例14: freshports_ConditionalGet

freshports_ConditionalGet(freshports_LastModified());
freshports_Start('The Authors', 'freshports - new ports, applications', 'FreeBSD, index, applications, ports');
?>
	<?php 
echo freshports_MainTable();
?>

	<tr><td valign="top" width="100%">

	<?php 
echo freshports_MainContentTable();
?>

  <tr>
	<?php 
echo freshports_PageBannerText("About the authors");
?>
  </tr>
<TR><TD>
<CENTER>
<?php 
if ($ShowAds) {
    echo Ad_728x90();
}
?>
</CENTER>

<p><a href="http://www.langille.org/">Dan Langille</a> thought up the idea, found the data sources, bugged people to 
write scripts, and did the html and database work. But he certainly didn't 
do it alone.</p>
开发者ID:brycied00d,项目名称:freshports,代码行数:30,代码来源:authors.php


示例15: CreateHTML

    function CreateHTML($WhichRepo)
    {
        global $TableWidth;
        global $freshports_CommitMsgMaxNumOfLinesToShow;
        global $DaysMarkedAsNew;
        $this->HTML = '';
        if (!$this->ResultSet) {
            die("read from database failed");
            exit;
        }
        $NumRows = pg_numrows($this->ResultSet);
        if ($this->Debug) {
            echo __FILE__ . ':' . __LINE__ . " Number of rows = {$NumRows}<br>\n";
        }
        if (!$NumRows) {
            $this->HTML = "<TR><TD>\n<P>Sorry, nothing found in the database....</P>\n</td></tr>\n";
            return $this->HTML;
        }
        $this->HTML .= '
<table border="1" width="100%" CELLSPACING="0" CELLPADDING="5">
<TR>
';
        switch ($NumRows) {
            case 0:
                $title = 'no files found';
                break;
            case 1:
                $title = '1 file found';
                break;
            default:
                $title = $NumRows . ' files found';
        }
        $this->HTML .= freshports_PageBannerText($title, 4);
        $this->HTML .= "\n\t\t<TR>\n\t\t\t<TD><b>Action</b></TD><TD><B>Revision</B></TD><td><b>Links</b></td><TD><b>File</b></TD>\n\t\t</TR>\n";
        for ($i = 0; $i < $NumRows; $i++) {
            $myrow = pg_fetch_array($this->ResultSet, $i);
            $this->HTML .= "<TR>\n";
            switch ($myrow["change_type"]) {
                case "M":
                    $Change_Type = "modify";
                    break;
                case "A":
                    $Change_Type = "import";
                    break;
                case "R":
                    $Change_Type = "remove";
                    break;
                default:
                    $Change_Type = $myrow["change_type"];
            }
            $this->HTML .= "  <TD>" . $Change_Type . "</TD>";
            $this->HTML .= '  <TD>' . $myrow["revision_name"];
            $this->HTML .= "</TD>";
            $this->HTML .= '<td>';
            if ($Change_Type == "modify") {
                switch ($WhichRepo) {
                    case FREEBSD_REPO_CVS:
                        $this->HTML .= ' ';
                        $previousRevision = $this->GetPreviousRevision($myrow["revision_name"]);
                        $this->HTML .= freshports_cvsweb_Diff_Link($myrow["pathname"], $previousRevision, $myrow["revision_name"]);
                        break;
                    case FREEBSD_REPO_SVN:
                        $this->HTML .= ' ';
                        $previousRevision = $this->GetPreviousRevision($myrow["revision_name"]);
                        # we want something like http://svnweb.freebsd.org/ports/head/www/p5-App-Nopaste/Makefile?r1=300951&r2=300950&pathrev=300951
                        $this->HTML .= ' <A HREF="http://' . $myrow['svn_hostname'] . $myrow["pathname"] . '?r1=' . $myrow["revision_name"] . '&amp;r2=' . $previousRevision . '&amp;pathrev=' . $myrow["revision_name"] . '">';
                        $this->HTML .= freshports_Diff_Icon() . '</a> ';
                        break;
                }
            }
            switch ($WhichRepo) {
                case FREEBSD_REPO_CVS:
                    $this->HTML .= freshports_cvsweb_Annotate_Link($myrow["pathname"], $myrow["revision_name"]);
                    break;
                case FREEBSD_REPO_SVN:
                    # we want something like
                    # http://svn.freebsd.org/ports/head/x11-wm/awesome/Makefile
                    $this->HTML .= ' <A HREF="http://' . $myrow['svn_hostname'] . $myrow["pathname"] . '?annotate=' . $myrow["revision_name"] . '">';
                    $this->HTML .= freshports_Revision_Icon() . '</a> ';
                    break;
                default:
                    $this->HTML .= 'unknown: \'' . htmlentities($WhichRepo) . '\'';
            }
            $this->HTML .= '</td>';
            $this->HTML .= '  <TD WIDTH="100%" VALIGN="middle">';
            switch ($WhichRepo) {
                case FREEBSD_REPO_CVS:
                    $this->HTML .= freshports_cvsweb_Revision_Link($myrow["pathname"], $myrow["revision_name"]);
                    break;
                case FREEBSD_REPO_SVN:
                    # we want something like
                    # http://svnweb.freebsd.org/ports/head/textproc/bsddiff/Makefile?view=log#rev300953
                    $this->HTML .= ' <A HREF="http://' . $myrow['svn_hostname'] . $myrow["pathname"] . '?view=log#rev' . $myrow["revision_name"] . '">';
                    break;
            }
            $this->HTML .= '<CODE CLASS="code">' . $myrow["pathname"] . "</CODE></A></TD>";
            $this->HTML .= "</TR>\n";
        }
        $this->HTML .= "</table>";
        return $this->HTML;
//.........这里部分代码省略.........
开发者ID:brycied00d,项目名称:freshports,代码行数:101,代码来源:files-display.php


示例16: freshports_BannerSpace

<A HREF="<?php 
echo MAILTO;
?>
:freebsd-ports&#64;freebsd.org">FreeBSD Ports mailing list</A>.  We do not maintain ports.  We do not
create ports.  We do not fix ports.  We just tell you what others have been doing to the Ports tree.
</P>

</TD></TR>

	<?php 
echo freshports_BannerSpace();
?>

<TR>
	<?php 
echo freshports_PageBannerText("OK, whose bright idea was this?");
?>
</TR>

<TR><TD>
<P>This site was created by Dan Langille.  His other web feats include 
<A HREF="http://www.freebsddiary.org/">The FreeBSD Diary</A>, <a 
href="http://www.racingsystem.com">The Racing System</A>, 
<a href="http://www.bsdcan.org/">BSDCan</a>, and an ability
to avoid reading the inane comments on <A HREF="http://slashdot.org">slashdot</A>.
But Dan didn't create the site all by himself.  Have a look at <A HREF="authors.php">
About the Authors</A> for details of who else helped.</P>
</TD></TR>

</TABLE>
</TD>
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:about.php


示例17: freshports_MainContentTable

$DisplayCommit->Debug = $Debug;
$DisplayCommit->SetUserID($User->id);
$links = $Pager->GetLinks();
$HTML .= $NumPortsFound . ' ' . $links['all'];
$HTML .= $DisplayCommit->CreateHTML();
if ($db) {
    ?>
<TR><TD VALIGN="top" WIDTH="100%">

<?php 
    echo freshports_MainContentTable();
    ?>

<TR>
<?php 
    echo freshports_PageBannerText("My flagged commits", 3);
    ?>
        <?php 
    //echo ($StartAt + 1) . " - " . ($StartAt + $MaxNumberOfPortsLong)
    ?>
</TR>
<TR><TD>
<p><?php 
    echo EVERYTHING;
    ?>
<p>
A port is marked as new for 10 days.

<?php 
    if ($ShowAds && $BannerAd) {
        echo "</td></tr>\n<tr><td>\n<CENTER>\n";
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:my-flagged-commits.php


示例18: freshports_MainTable

    }
}
?>
	<?php 
echo freshports_MainTable();
?>

	<tr><td valign="top" width="100%">

	<?php 
echo freshports_MainContentTable(NOBORDER);
# article table start
?>
  <tr>
	<?php 
echo freshports_PageBannerText("Watch List - categories");
?>
  </tr>
<tr><td valign="top" width="100%">


<table width="100%" border="0">
<?php 
# list of categories table start
?>
<tr><td>
This screen contains a list of the port categories. A * indicates a category that contains ports which are
on your watch list. When a port changes in one of your watch categories, you will be notified by email if you have selected a 
notification frequency within your <a href="customize.php">personal preferences</a>.

<p>
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:filter-setup.php


示例19: pg_escape_string

if (isset($_REQUEST['update'])) {
    $Category->{description} = pg_escape_string($_REQUEST['description']);
    $Category->UpdateDescription();
}
freshports_Start($Title . ' - ' . $CategoryName, 'freshports - new ports, applications', 'FreeBSD, index, applications, ports');
?>
<TABLE WIDTH="<?php 
echo $TableWidth;
?>
" BORDER="0" ALIGN="center">
<TR><TD VALIGN="top" WIDTH="100%">
<TABLE WIDTH="100%" BORDER="0">

<TR>
	<?php 
echo freshports_PageBannerText($Title . ' - ' . $CategoryName);
?>
</TR>
<TR><TD>
<p>
<?php 
if ($User->IsTaskAllowed(FRESHPORTS_TASKS_CATEGORY_VIRTUAL_DESCRIPTION_SET)) {
    ?>
This page allows you to maintain a category, if you have permission to do so.


<p>

<?php 
    if (!$IsPrimary) {
        echo '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST" NAME=f>';
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:category-maintenance.php


示例20: min

if (Is_Numeric($dailysummary)) {
    $dailysummary = min($NumberOfDays, max(0, $dailysummary));
} else {
    unset($dailysummary);
}
if ($db) {
    ?>
<TR><TD VALIGN="top" WIDTH="100%">

<?php 
    echo freshports_MainContentTable();
    ?>

<TR>
<?php 
    echo freshports_PageBannerText("{$MaxNumberOfPortsLong} most recent commits", 3);
    ?>
        <?php 
    //echo ($StartAt + 1) . " - " . ($StartAt + $MaxNumberOfPortsLong)
    ?>
</TR>
<TR><TD>
<p><?php 
    echo EVERYTHING;
    ?>
<p>
A port is marked as new for 10 days.

<?php 
    if ($ShowAds && $BannerAd) {
        echo "</td></tr>\n<tr><td>\n<CENTER>\n";
开发者ID:brycied00d,项目名称:freshports,代码行数:31,代码来源:filter.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP freshports_ShowFooter函数代码示例发布时间:2022-05-15
下一篇:
PHP freshports_MainTable函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap