Admin Login
function err_msg($msg, $bool = "1") { if ($bool) { echo " "; exit; } } function ShowMessage($msg) { echo (" "); } function err_close($msg) { echo " "; exit; } function err_msg2($msg, $to, $bool = "1") { if ($bool) { echo " "; exit; } } function redirect($re_url) { echo ""; exit; } function my_connect($host, $id, $pass, $db) { $connect = mysql_connect($host, $id, $pass); mysql_select_db($db); return $connect; } function make_page() { } // ��¥������ ���� ��ȯ : 20020512 ===> 12/05/2002 function shortdate($strvalue) { $date_str = substr($strvalue, 0, 2) . "/" . substr($strvalue, 3, 3) . "/" . substr($strvalue, 7, 4); return $date_str; } function mysql_data($strvalue) { $date_time_array = getdate($strvalue); $hours = $date_time_array["hours"]; $minutes = $date_time_array["minutes"]; $seconds = $date_time_array["seconds"]; $nMes = $date_time_array["mon"]; $nDia = $date_time_array["mday"]; $nAno = $date_time_array["year"]; $nData = mktime( $date_time_array["hours"], $date_time_array["minutes"], $date_time_array["seconds"], $date_time_array["mon"], $date_time_array["mday"], $date_time_array["year"] ); return $nData; } function br_data($strvalue) { $nAno = substr($strvalue, 7, 4); $nMes = substr($strvalue, 3, 3); $nDia = substr($strvalue, 0, 2); if ($nMes = 'avr') { $nMes = '04'; }; if ($nMes = 'mai') { $nMes = '05'; }; $nData = date('d/m/Y', mktime(0, 0, 0, (int)$nMes, (int)$nDia, (int)$nAno)); return $nData; } function show_data($strvalue) { $nAno = substr($strvalue, 7, 4); $nMes = substr($strvalue, 3, 3); $nDia = substr($strvalue, 0, 2); $nData = $nDia . '/' . $nMes . '/' . $nAno; return $nData; } function my_data($strvalue) { $nData = explode("-", $strvalue); // $nData=$mData[0].'/'.$mData[1].'/'.$mData[2]; return $nData[0]; } /* �ѱ� ���ڿ� �ڸ��� �Լ� */ function shortenStr($str, $maxlen) { if (strlen($str) <= $maxlen) return $str; $effective_max = $maxlen - 3; $remained_byte = $effective_max; $retStr = ""; $hanStart = 0; for ($i = 0; $i < $effective_max; $i++) { $char = substr($str, $i, 1); if (ord($char) <= 127) { $retStr .= $char; $remained_byte--; continue; } if (!$hanStart && $remained_byte > 1) { $hanStart = true; $retStr .= $char; $remained_byte--; continue; } if ($hanStart) { $hanStart = false; $retStr .= $char; $remained_byte--; } } return $retStr .= "..."; }
분류 | 호텔 |
한인업소 | 한인업소입니다 | 업소명 | 산장호텔 |
업주명 | |
전화번호 |
if (trim($row["tel"]) != "") {
$tel1 = $row["ddd"] . $row["tel"];
}
if (trim($row["tel2"]) != "") {
$tel2 = $row["ddd"] . $row["tel2"];
}
if (trim($row["tel3"]) != "") {
$tel3 = $row["ddd"] . $row["tel3"];
}
?>
if (trim($row["tel"]) != "") { ?> (11) 3883-8932 } ?> if (trim($row["tel2"]) != "") { ?> } ?> if (trim($row["tel3"]) != "") { ?> } ?> |
핸드폰 |
if (trim($row["cel"]) != "") {
$cel1 = $row["ddd"] . $row["cel"];
}
if (trim($row["cel2"]) != "") {
$cel2 = $row["ddd"] . $row["cel2"];
}
?>
if (trim($row["cel"]) != "") { ?> (11) 98140-2266 } ?> if (trim($row["cel2"]) != "") { ?> (11) 98140-0022 } ?> |
카카오 ID |
if (trim($row["kakao"]) != "") { ?>
|
} ?>
주소 | Estrada Canta Galo, 957 |
동 | Caraguatatuba |
시.주 | São Paulo SP |
우편번호 | 000 |
이메일 | |
홈페이지 | |
태그 |