查看文件: line_html.php
大小: 1.49 KB
类型: application/octet-stream
<?php require_once('./Connections/BE2.php'); ?> <? $menu1=isset($_GET['menu'])?$_GET['menu']:'index'; $REQUEST_URI=$_SERVER['REQUEST_URI']; $pos = strpos($REQUEST_URI, '/',1); if($pos>0){ $REQUEST_URI=substr($REQUEST_URI,0,$pos+1); }else{ $REQUEST_URI='/' ;} mysql_select_db($database_BE2, $BE2); // $query_Lo1 = sprintf("SELECT * FROM logo_img WHERE lurlbase='%s' AND lurl='%s' ",$REQUEST_URI,$menu1); // $query_Lo2 = sprintf("SELECT * FROM line_img WHERE lurl='%s'",trim($menu1)); $query_Lo2 = sprintf("SELECT * FROM line_img WHERE lurlbase='%s' AND lurl='%s' ",$REQUEST_URI,$menu1); $Lo2 = mysql_query($query_Lo2, $BE2) or die(mysql_error()); $row_Lo2 = mysql_fetch_assoc($Lo2); $totalRows_Lo2 = mysql_num_rows($Lo2); // if ( $_SERVER['REMOTE_ADDR']=='220.130.43.118'){ // echo $query_Lo2."<br>"; // } $ldoc='雲端異業互聯網&實景街圖導覽,街角網路商店,購物,廣告系統。'; $limg='skybni.jpg'; if($totalRows_Lo2>0){ $ldoc=$row_Lo2['ldoc']; $limg=$row_Lo2['limg']; } mysql_free_result($Lo2); ?> <link rel="alternate" href="//www.skybni.com" hreflang="zh-TW" /> <meta property="og:site_name" content="天空商城" /> <meta property="og:title" content="SKYBNI-天空商城" /> <meta property="og:type" content="website"> <meta property="og:description" content="<?= $ldoc ?>" /> <meta property="og:image" content="https://www.skybni.com/images/line/<?= $limg ?>" /> <meta property="og:url" content="https://www.skybni.com/" />
保存
取消
返回文件列表