แก้ไข head.inc
รายละเอียด* :
<!DOCTYPE html> <html> <head> <?php if (($_SERVER["HTTP_HOST"] != "localhost") && (substr($_SERVER["HTTP_HOST"],0,10) != "192.168.1.")) echo("<!-- Google Analytics --><script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-131530782-2\"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-131530782-2');</script> <!-- Google Analytics -->"); ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="Revisit-After" content="5 Days"> <meta name="robots" content="all,index"> <meta name="format-detection" content="telephone=no"> <?php // ------------ พรีวิวสำหรับ search engine และ social share (รับค่า $descrip ที่โยนมาจาก wbshow.php) --------------- echo("<meta property=\"og:image\" content=\"$mainweburl/data/config/the-fbshare.png\"/>\n"); if ($fbcanonurl == "") { $fbcanonurl = $fullweburl; } // fallback echo("<meta property=\"og:url\" content=\"$fbcanonurl\"/>\n"); if ($descrip == "") { $descrip = "นี่ไม่ใช่ไดอะรี่!!"; } // fallback echo("<meta name=\"description\" content=\"$descrip\">"); ?> <link rel="shortcut icon" href="data/config/the-favicon.ico" type="image/x-icon"> <link rel="stylesheet" href="data/config/the-style.css?<?php echo strtoupper(base_convert(filemtime('data/config/the-style.css'), 10, 36)) ?>" type="text/css" media="all"> <?php // ----------- รับค่า $title ที่โยนมาจาก wbshow.php --------- if ($title != "") { echo("<title>$nofile | ".htmlspecialchars($title)."</title>\n"); } else { echo("<title>$board2</title>\n"); } // --------- ส่วนของ RSS subscribe --------- if ($okrss == "yes") { echo("<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"rss\">\n"); } if ($okrssupd == "yes") { echo("<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"rss-update\">\n"); } if ($okrssblog == "yes") { echo("<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"rss-blog\">\n"); } // ------------- ส่วนของ javascript ---------- $pagename = basename(getenv('SCRIPT_NAME'), ".php"); $jscall = ""; if (in_array($pagename, array("wbshow","wbwrite","wbedit"))) { $jscall = $jscall."Eqs"."But"."Eqt"; } if (in_array($pagename, array("wbshow","wbwrite","wbedit","wbhistory"))) { $jscall = $jscall."Shh"; } if (in_array($pagename, array("wbshow"))) { $jscall = $jscall."Tog"; } if (in_array($pagename, array("wbhistory"))) { $jscall = $jscall."Pop"; } include("wbjscript.inc"); ?> <!-- ส่วนของ autozoom --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ zoom = $(window).width()/$("body").outerWidth(); $("body").css("transform","scale("+zoom+")"); $("body").css("-ms-transform","scale("+zoom+")"); }); $(window).on('resize', function(){ zoom = $(window).width()/$("body").outerWidth(); $("body").css("transform","scale("+zoom+")"); $("body").css("-ms-transform","scale("+zoom+")"); }); </script> <!-- จบ ส่วนของ autozoom --> </head> <body> <?php echo($svgiconhead); // ประกาศ symbol ไอคอนทั้งหมด เพื่อเอาไว้เรียกใช้ if ($fblikeshow != "0") { echo(" <div id=fb-root></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = \"//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8\"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> "); } ?> <!-- เริ่ม pagewrap ชั้นนอกสุด --> <DIV id=wrap> <!-- 01 เริ่ม header --> <DIV id=header> <a href=board id=headlink><svg><use xlink:href=#sqblank /></svg></a> <?php // -------------- ส่วน header หาคำพูดไปแสดงมุมบนขวา ----------------- if ($nofile != "") { $filename= "data/config/my-amount.txt"; $line=file($filename); for ($num = 1; $num < strlen($line[0]); $num++) { $numx = substr_count($line[0], 'X'); $numl = substr_count($line[0], 'L'); $numm = substr_count($line[0], 'M'); $nums = substr_count($line[0], 'S'); $numi = substr_count($line[0], 'I'); $nolast = 10000 * $numx + 1000 * $numl + 100 * $numm + 10 * $nums + $numi; } $nolast = $nolast-1; $nolast = padnum ($nolast); $nofile = padnum ($nofile); $headword = "$hword3a<b>$nofile</b>$hword3b<b>$nolast</b>"; } else { $headword = $allornew.$rsslink; } if (in_array(substr($_SERVER["HTTP_HOST"],0,10), array("192.168.1.","localhost"))) { $headword = $headword."<br><b style='color:#BBB'>=== LOCALHOST ===</b>"; } if ($headword != "") { echo ("<div id=header-links><p>$headword</p></div>"); } // ---------------------------------------------------------------------------------------------------- ?> </DIV><!-- จบ 01 header --> <!-- 02 เริ่ม menubar --><!-- จบ 02 menubar --> <!-- 03 เริ่ม content-wrap --> <DIV id=content-wrap>
จาก :
นวย (admin)
: รหัส
จัดการแก้ไข
ขอเริ่มใหม่..
สบายใจเสนอ..
หน้าแรก
รวมเรื่องสั้น+เรื่องเล่า
รวมบทความ+ไอเดีย
5 อัลบั้มโปรด 2536-2550
รูปรับปริญญา 2546
kanuay @ hi5
kanuay @ multiply
บ้านใกล้
ShauPost
เรือนเคียง
ทุมวัน '41
Math E-Book
ของเค้าดี
Hotmail
|
Yahoo!mail
|
Thai.com
ThaiDVD
|
Chaliang
|
AIS Billing
Cap.co.th
|
EthaiCD
|
CD2Hand
Thaihosttalk
|
Flickr
|
RPST-digit
Fujifilm Thailand
|
Pantip Photo
TrendMicro Update
|
HijackThis
Firefox add-ons
|
Ext Problems
AIMP
|
LAME Encoder
|
MP3Tag
7-Zip
|
LyX
|
OpenOffice.org
DVD Audio Extrc
|
K-Lite Codec
Photoscape
|
Orbit Downloader
Net2FTP
|
PclZip
|
Web Design
››VHCS
| < |
››File Manager