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


PHP DisplayFoot函数代码示例

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


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

示例1: showIndex

function showIndex($min)
{
    DisplayHead(_UPLOADHISTORY);
    // Display Activity
    displayActivity($min);
    DisplayFoot();
}
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:7,代码来源:history.php

示例2: DisplayFoot

                echo "</select> ";
                echo "<input type=submit value='Show Latest'>";
                echo "</form>\n";
            } else {
                echo "</td></tr></table></div>";
                // Set the Sub to equal the main for groups that don't have subs.
                $_REQUEST["subGenre"] = $mainGenre;
                echo $sEngine->getLatest();
            }
        } else {
            echo "</td></tr></table></div>";
            if (array_key_exists("LATEST", $_REQUEST) && $_REQUEST["LATEST"] == "1") {
                echo $sEngine->getLatest();
            } else {
                echo $sEngine->performSearch($searchterm);
            }
        }
    } else {
        // there was an error connecting
        echo "</td></tr>";
        echo "<tr><td><br><br><div align=center><strong>" . $sEngine->msg . "</strong></div><br><br></td></tr>";
        echo "</table></div>";
    }
} else {
    // there was an error connecting
    echo "</td></tr>";
    echo "<tr><td><br><br><div align=center><strong>Search Engine not installed.</strong></div><br><br></td></tr>";
    echo "</table></div>";
}
DisplayFoot();
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:30,代码来源:torrentSearch.php

示例3: or

 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.

 To read the license please visit http://www.gnu.org/copyleft/gpl.html

*******************************************************************************/
// includes
include_once "config.php";
include_once "functions.php";
if (isset($_REQUEST["u"])) {
    DisplayHead("dereferrer", false, '0;URL=' . $_REQUEST["u"]);
    ?>
    <br>
    <div align="left" id="BodyLayer" name="BodyLayer" style="border: thin solid <?php 
    echo $cfg["main_bgcolor"];
    ?>
; position:relative; width:740; height:500; padding-left: 5px; padding-right: 5px; z-index:1; overflow: scroll; visibility: visible">
<?php 
    echo '<br><br><strong>';
    echo 'forwarding to <a href="' . $_REQUEST["u"] . '">' . $_REQUEST["u"] . '</a> ...';
    echo '</strong><br><br>';
    DisplayFoot(false, false);
} else {
    header("location: index.php");
    exit;
}
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:31,代码来源:dereferrer.php

示例4: uiSettings


//.........这里部分代码省略.........
    }
    ?>
>false</option>
			   </select>
		   </td>
		</tr>

		<tr>
			<td align="left" width="350" valign="top"><strong>Good looking statistics settings</strong><br>
			Configure Settings of "Good looking statistics" :
			</td>
			<td valign="top">
			<?php 
    printGoodLookingStatsForm();
    ?>
			</td>
		</tr>

		<tr>
			<td align="left" width="350" valign="top"><strong>Enable Big bold drivespace warning</strong><br>
			Enable/Disable "Big bold drivespace warning" :
			</td>
			<td valign="top">
				<select name="enable_bigboldwarning">
						<option value="1">true</option>
						<option value="0" <?php 
    if (!$cfg["enable_bigboldwarning"]) {
        echo "selected";
    }
    ?>
>false</option>
				</select>
			</td>
		</tr>


		<tr><td colspan="2" align="center" bgcolor="<?php 
    echo $cfg["table_header_bg"];
    ?>
"><strong>Download-Details</strong></td></tr>
		<tr>
			<td align="left" width="350" valign="top"><strong>Width</strong><br>
			Specify the width of the details-popup. (450):
			</td>
			<td valign="bottom">
				<input name="ui_dim_details_w" type="Text" maxlength="5" value="<?php 
    echo $cfg["ui_dim_details_w"];
    ?>
" size="5">
			</td>
		</tr>
		<tr>
			<td align="left" width="350" valign="top"><strong>Height</strong><br>
			Specify the height of the details-popup. (290):
			</td>
			<td valign="bottom">
				<input name="ui_dim_details_h" type="Text" maxlength="5" value="<?php 
    echo $cfg["ui_dim_details_h"];
    ?>
" size="5">
			</td>
		</tr>


		<tr><td colspan="2" align="center" bgcolor="<?php 
    echo $cfg["table_header_bg"];
    ?>
"><strong>Misc</strong></td></tr>

		<tr>
			<td align="left" width="350" valign="top"><strong>Display TorrentFlux Link</strong><br>
			Display TorrentFlux Link at bottom of pages. (true):
			</td>
			<td valign="bottom">
				<select name="ui_displayfluxlink">
						<option value="1">true</option>
						<option value="0" <?php 
    if (!$cfg["ui_displayfluxlink"]) {
        echo "selected";
    }
    ?>
>false</option>
				</select>
			</td>
		</tr>

			<tr><td colspan="2"><hr noshade></td></tr>
			<tr>
				<td align="center" colspan="2">
				<input type="Submit" value="Update Settings">
				</td>
			</tr>
			</form>
		</table>
	</div>
</td></tr>
</table></div>
<?php 
    DisplayFoot(true, true);
}
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:101,代码来源:admin.php

示例5: ShowCookies


//.........这里部分代码省略.........
            <td>&nbsp;</td>
            <td colspan="2">
                <input type="Submit" value="<?php 
    echo !empty($cid) ? _UPDATE : "Add";
    ?>
">
            </td>
        </tr>
<?php 
    // We are editing a cookie, so have a link back to cookie list
    if (!empty($cid)) {
        ?>
        <tr>
            <td colspan="3">
                <center>[ <a href="?op=editCookies">back</a> ]</center>
            </td>
        </tr>
<?php 
    } else {
        ?>
        <tr>
            <td colspan="3">
                <table border="1" bordercolor="<?php 
        echo $cfg["table_admin_border"];
        ?>
" cellpadding="2" cellspacing="0" bgcolor="<?php 
        echo $cfg["table_data_bg"];
        ?>
" width="100%">
                    <tr>
                        <td style="font-weight: bold; padding-left: 3px;" width="50">Action</td>
                        <td style="font-weight: bold; padding-left: 3px;">Host</td>
                        <td style="font-weight: bold; padding-left: 3px;">Data</td>
                    </tr>
<?php 
        // Output the list of cookies in the database
        $sql = "SELECT c.cid, c.host, c.data FROM tf_cookies AS c, tf_users AS u WHERE u.uid=c.uid AND u.user_id='" . $cfg["user"] . "'";
        $dat = $db->GetAll($sql);
        if (empty($dat)) {
            ?>
                <tr>
                    <td colspan="3">No cookie entries exist.</td>
                </tr>
<?php 
        } else {
            foreach ($dat as $cookie) {
                ?>
                    <tr>
                        <td>
                            <a href="?op=deleteCookie&cid=<?php 
                echo $cookie["cid"];
                ?>
"><img src="images/delete_on.gif" width=16 height=16 border=0 title="<?php 
                echo _DELETE . " " . $cookie["host"];
                ?>
" align="absmiddle"></a>
                            <a href="?op=editCookies&cid=<?php 
                echo $cookie["cid"];
                ?>
"><img src="images/properties.png" width=18 height=13 border=0 title="<?php 
                echo _EDIT . " " . $cookie["host"];
                ?>
" align="absmiddle"></a>
                        </td>
                        <td><?php 
                echo $cookie["host"];
                ?>
</td>
                        <td><?php 
                echo $cookie["data"];
                ?>
</td>
                    </tr>
<?php 
            }
        }
        ?>
                </table>
            </td>
        </tr>
<?php 
    }
    ?>
        <tr>
            <td colspan="3">
                <br>
                <div align="center">
                <A HREF="javascript:popUp('cookiehelp.php')">How to get cookie information....</A>
                </div>
            </td>
        </tr>
        </table>
        </form>
    </div>
    <br />
    <br />
    <br />
<?php 
    DisplayFoot();
}
开发者ID:BackupTheBerlios,项目名称:tf-b4rt-svn,代码行数:101,代码来源:profile.php

示例6: searchSettings


//.........这里部分代码省略.........
    if (empty($searchEngine)) {
        $searchEngine = $cfg["searchEngine"];
    }
    echo buildSearchEngineDDL($searchEngine, true);
    ?>
            </td>
        </tr>
        </form>
        </table>

        <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr><td>
<?php 
    if (is_file('searchEngines/' . $searchEngine . 'Engine.php')) {
        include_once 'searchEngines/' . $searchEngine . 'Engine.php';
        $sEngine = new SearchEngine(serialize($cfg));
        if ($sEngine->initialized) {
            echo "<table width=\"100%\" border=1 bordercolor=\"" . $cfg["table_admin_border"] . "\" cellpadding=\"2\" cellspacing=\"0\" bgcolor=\"" . $cfg["table_data_bg"] . "\"><tr>";
            echo "<td bgcolor=\"" . $cfg["table_header_bg"] . "\" background=\"themes/" . $cfg["theme"] . "/images/bar.gif\"><img src=\"images/properties.png\" width=18 height=13 border=0>&nbsp;&nbsp;<font class=\"title\">" . $sEngine->mainTitle . " Search Settings</font></td>";
            echo "</tr></table></td>";
            echo "<form name=\"theSearchEngineSettings\" action=\"admin.php?op=updateSearchSettings\" method=\"post\">\n";
            echo "<input type=\"hidden\" name=\"searchEngine\" value=\"" . $searchEngine . "\">";
            ?>
            </td>
        </tr>
        <tr>
            <td>

        <table cellpadding="5" cellspacing="0" border="0" width="100%">
        <tr>
            <td align="left" width="350" valign="top"><strong>Search Engine URL:</strong></td>
            <td valign="top">
                <?php 
            echo "<a href=\"http://" . $sEngine->mainURL . "\" target=\"_blank\">" . $sEngine->mainTitle . "</a>";
            ?>
            </td>
        </tr>
        <tr>
            <td align="left" width="350" valign="top"><strong>Search Module Author:</strong></td>
            <td valign="top">
                <?php 
            echo $sEngine->author;
            ?>
            </td>
        </tr>
        <tr>
            <td align="left" width="350" valign="top"><strong>Version:</strong></td>
            <td valign="top">
                <?php 
            echo $sEngine->version;
            ?>
            </td>
        </tr>
<?php 
            if (strlen($sEngine->updateURL) > 0) {
                ?>
        <tr>
            <td align="left" width="350" valign="top"><strong>Update Location:</strong></td>
            <td valign="top">
                <?php 
                echo "<a href=\"" . $sEngine->updateURL . "\" target=\"_blank\">Check for Update</a>";
                ?>
            </td>
        </tr>
<?php 
            }
            if (!$sEngine->catFilterName == '') {
                ?>
        <tr>
            <td align="left" width="350" valign="top"><strong>Search Filter:</strong><br>
            Select the items that you DO NOT want to show in the torrent search:
            </td>
            <td valign="top">
<?php 
                echo "<select multiple name=\"" . $sEngine->catFilterName . "[]\" size=\"8\" STYLE=\"width: 125px\">";
                echo "<option value=\"-1\">[NO FILTER]</option>";
                foreach ($sEngine->getMainCategories(false) as $mainId => $mainName) {
                    echo "<option value=\"" . $mainId . "\" ";
                    if (@in_array($mainId, $sEngine->catFilter)) {
                        echo " selected";
                    }
                    echo ">" . $mainName . "</option>";
                }
                echo "</select>";
                echo "            </td>\n";
                echo "        </tr>\n";
            }
        }
    }
    echo "        </table>\n";
    echo "         </td></tr></table>";
    echo "        <br>\n";
    echo "        <input type=\"Submit\" value=\"Update Settings\">";
    echo "        </form>\n";
    echo "    </div>\n";
    echo "    <br>\n";
    echo "</td></tr>";
    echo "</table></div>";
    DisplayFoot();
}
开发者ID:aungthiha-richard,项目名称:torrentflux,代码行数:101,代码来源:admin.php


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