MINI MINI MANI MO

Path : /home/lhcar/www/mobile/
File Upload :
Current File : /home/lhcar/www/mobile/view.php

<?
require_once "./_common/common.php";
include $_SERVER['DOCUMENT_ROOT'].'/_config/global.php';
include $_SERVER['DOCUMENT_ROOT'].'/_config/_class/phpfun.class.php';
$phpfun = new phpfun();
$SID = session_id();

mysql_query("update $id set ref=ref+1 where no='".$vno."'");
?>
<?
	$query_board = "select * from admin_table where a_name='$id' ";  
	$result_board = mysql_query($query_board);  
	$board=mysql_fetch_array($result_board);

		$data=mysql_fetch_array(mysql_query("select * from $id where no='$vno'"));
		if($data[security]=="1"){
			if($_SESSION[mno]!=$data[midx]){
				err_msg("권한이 없습니다.");
				exit;
			}
		}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>


<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="css/scale.css" rel="stylesheet" type="text/css">
</head>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.view_article p {padding:0px;margin:0px;text-align:left;}
-->
</style>
<div id="top">
<? include "inc/sub_top.html"; ?>
</div>
<tr>
	<td>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr>
        <td align="center"><div align="center">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            
            <tr>
			<td colspan="2"><? include "inc/customer_menu.php"; ?></td>
            </tr>
  <td colspan="2"><!-- navi start-->
          <table id="navi"  width="100%"  height="60"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                <tr>
                  <td><table align="center">
                      <tr>
                        <td><strong><?=$board[a_title]?></strong></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="1" bgcolor="#0066CC"></td>
                </tr>
                <tr>
                  <td height="10" ></td>
                </tr>
              </table></td>
            </tr>
          </table>
    <!-- navi end-->  </td>
  </tr>
  <tr>
    <td colspan="2" style="border-top:1px solid #000000; border-bottom:1px solid #b0b0b0;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="view_title" style="background:#e6f6da;line-height:20px; padding:10px"><?=$data[subject]?>
              <br />
              <span style="font-size:11pt;background:#f5f5f5;line-height:20px; color:#0000FF"></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="50%" height="30" class="gray5" style="border-bottom:1px solid #000000;padding-left:10px;">등록 : <span class="date2">
      <?=date("Y-m-d",$data['date'])?>
    </span></td>
    <td width="50%" height="30" class="gray5" style="border-bottom:1px solid #000000;padding-left:10px;">글쓴이 : <?=$data[name]?></td>
  </tr>
  <tr>
    <td height="20" colspan="2" class="view_tit2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" class="view_article" style="padding:10px;"><?=$data[memo]?>    </td>
  </tr>
          </table>
        </div>        </td>
      </tr>
                                     <tr>
                                      <td height="50" colspan="2" align="center" valign="middle" style="border-top:1px solid #333;padding-top:10px;"><span style="padding-top: 6px;"><img src="/img/bt05.jpg" style="cursor:pointer;" onclick="location.href='customer.php?id=<?=$id?>';"/></span></td>
      </tr>
   </table>

<!-- 푸터영역 start -->		  
	
</td></tr>
<div id="btm">
<? include "inc/btm.html"; ?>
</div>
  

OHA YOOOO