返回 : 2016 下载 > 高清 2016 影片 > 合集 1
请查看该图像样本
我想要这样的主页标题
MyWebSite.Com : 2016 Download HD 2016 Videos Collection 1 ... 免费下载,视频下载
我的页面标题代码
<?php
$mt=microtime(1);
require 'config.php';
require 'func.php';
//Sorting and previe:
$p=intval($_GET['p']);
$sort=intval($_GET['sort']);
if($sort>0 OR $sort<0)
{$sort=1;}
//Folder:
$dir=htmlspecialchars($_GET['dir']);
while(substr($dir,0,1)=='/')
{$dir=substr($dir,1,strlen($dir));}
if(strstr($dir,'..') OR !is_dir('load/'.$dir) OR strstr($dir,'://'))
{
$dir=null;
}
$opis = false;
$dir_exp=explode('/',$dir);
header('Content-type: text/html; charset=utf-8');
header('Cache-control: no-cache');
print '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>'.transdir($dir_exp[count($dir_exp)-1]).' Downloads</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
<meta name="author" content="mobizone" />
<meta name="subject" content="mobizone" />
<meta name="Robots" content="INDEX,FOLLOW" />
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
我的分页码
//Pagination:
if($countstr>1)
{echo '<div class="page" style="text-align:left">';
print nav_page($countstr,$page,$dir,$p,$sort,'index'); echo'</div>';}
$dir_exp=explode('/',$dir);
if($dir){print '<div class="head"><a href="index.php">Home</a> ';}
if(($countj=count(explode('/',$dir)))>1){
$j=explode('/',$dir);
for($i=0; $i<=$countj; $i++){
$u=$j[count($j)-2];
if($u){
unset($j[count($j)-1]);
$g[$i]= ' » <a href="index.php?dir='.join('/', $j).'&p='.$p.'&sort='.$sort.'">'.transdir($u).'</a>';}}
for($i=count($g)-1; $i>=0; $i--)
{print $g[$i];}}
if($dir){echo ' » '.transdir($dir_exp[count($dir_exp)-1]).' </div>';}
if(!$dir)
{
include 'solid.php';
}
include 'foot.php';
print'</body></html>';
?>