/* 此Layout需搭配color.css互相作用 */

/* ----------【標準文字樣式】-------------- */
div, table {
	COLOR: #333333; /* 文字顏色 */
	font-size: 12px; /* 文字大小 */
}

/* ----------【山頭區塊】-------------- */
#header {
	height: 140px; /* 高度 */
	margin-bottom: 10px; /* 山頭的邊界 */
}

/* ----------【山頭】頂線-------------- */
#header_top {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	height: 2px; /* 線條高度 */
	background: #5E3496; /* 線條背景顏色 */
}

/* ----------【城邦共用導覽列】-------------- */
#header_top, #header_common_left, #header_common_main, #header_common_main_bg, #header_common_line, #header_common_right{
	visibility: visible; /* 顯示與否設定 */
}

/* ----------【城邦共用導覽列連結】-------------- */
#header_common a {
	color: #FFFFFF;  /* 連結文字的顏色  */
	text-decoration: none; /* 滑鼠移到連結上時，不要底線 */
}

/* ----------【城邦共用導覽列下拉選單】-------------- */
.chapter {
	width: 100%; /* 寬度 */
	border: 1px solid #CCB8E0; /* 線框 */
	background-color: #F1ECF7; /* 背景色 */
}
.chapter-point {
	color: #4D4D4D; /* 文字顏色 */
}
.chapter-line {
	background-color: #E5DBEF; /* 分隔線顏色 */
}

/* ----------【城邦共用導覽列】下拉選單連結-------------- */
.chapter-text, a.chapter-text:link, a.chapter-text:hover, a.chapter-text:visited {
	color: #4D2F6C; /* 連結文字的顏色 */
}

/* ----------【山頭】連結-------------- */
#header a:link, #header a:visited  {
	text-decoration: none;  /* 連結文字的樣式 */
}
#header a:hover {
	text-decoration: underline;  /* 滑鼠移到上面時的連結文字樣式 */
}

/* ----------【山頭】網誌logo定位-------------- */
#header_logo {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 10px; /* x座標 */
	top: 59px; /* y座標 */
}

/* ----------【山頭】網誌名稱-------------- */
#header_name {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 10px; /* x座標 */
	top: 32px; /* y座標 */
	color: #000000; /* 文字顏色 */
	font-size: 18px; /* 文字大小 */
	font-weight: bold; /* 文字粗體 */
}

/* ----------【山頭】網誌名稱連結-------------- */
#header_name a {
	color: #000000;  /* 連結文字的顏色 */
}

/* ----------【山頭】網誌簡短網址與作家-------------- */
#header_url {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 40px; /* x座標 */
	top: 59px; /* y座標 */
}

/* ----------【山頭】網誌簡短網址與作家連結-------------- */
#header_url a:link, a:visited {
	color: #999999; /* 連結文字的顏色 */
}
#header_url a:hover {
	color: #666666; /* 滑鼠移到上面時的連結文字顏色 */
}


/* ----------【山頭】加入好友、推薦本網誌等...功能列-------------- */
#header_items {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 40px; /* x座標 */
	top: 76px; /* y座標 */
}

/* ----------【山頭】加入好友、推薦本網誌等...功能列連結-------------- */
#header_items a {
	color: #9971C2; /* 連結文字的顏色 */
}
#header_items a:hover {
	color: #C77E00; /* 滑鼠移到上面時的連結文字顏色 */
}

/* ----------【山頭】搜尋區塊-------------- */
#header_search {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 560px; /* x座標 */
	top: 70px; /* y座標 */
}
.inputbox { /* 文字輸入框 */
	BORDER-RIGHT: #808080 1px solid;
	BORDER-TOP: #808080 1px solid;
	BORDER-LEFT: #808080 1px solid;
	BORDER-BOTTOM: #808080 1px solid;
}


/* ----------【網誌橫式主選單】-------------- */
/* 網誌橫式主選單的頂線 */
#header_menus_line {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	border-top: 1px solid #808080; /* 線的高度與顏色樣式 */
	left: 0px; /* x座標 */
	top: 100px; /* y座標 */
	width: 100%; /* 寬度 */
}
/* 網誌橫式主選單的定位 */
#header_menus {
	position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
	left: 0px; /* x座標 */
	top: 100px; /* y座標 */
	margin-top: 10px; /* 與頂線的邊界間距 */
}
/* 網誌橫式主選單的區塊設定 */
#header_menus ul {
	list-style: none; /* 條列式樣式 */
	margin: 0px; /* 邊界的間距 */
	padding-left: 35px; /* 左側的內距 */
}
/* 網誌橫式主選單的項目設定 */
#header_menus li {
	display: inline; /* 橫式 */
	height: 30px; /* 高度 */
	padding-top: 3px; /* 上側的內距 */
	padding-right: 50px; /* 右側的內距(小圖示與選項文字的間距調適) */
}

/* ----------【網誌橫式主選單】小圖示（欲更換小圖示，請修改url為圖檔所在地的絕對連結）-------------- */
/* 本網誌首頁 */
#home {
	background: url(http://city.udn.com/community/img/user_all/menu_article_h.gif) no-repeat left top;
}
/* 文章創作 */
#article {
	background: url(http://city.udn.com/community/img/user_all/menu_article_h.gif) no-repeat left top;
}
/* 個人相簿 */
#photo {
	background: url(http://city.udn.com/community/img/user_all/menu_photo_h.gif) no-repeat left top;
}
/* 訪客簿 */
#gbook {
	background: url(http://city.udn.com/community/img/user_all/menu_guestbook_h.gif) no-repeat left top;
}
/* 作家簡介 */
#profile {
	background: url(http://city.udn.com/community/img/user_all/menu_detail_h.gif) no-repeat left top;
}
/* 管理中心 */
#manage {
	background: url(http://city.udn.com/community/img/user_all/menu_manage_h.gif) no-repeat left top;
}

/* ----------【網誌橫式主選單】連結-------------- */
#header_menus li a {
	color: #4D2F6C; /* 連結文字的顏色 */
	font-size: 13px; /* 連結文字的大小 */
	padding-left: 18px; /* 左測的內距 */
}
#header_menus a:hover {
	color: #C77E00; /* 滑鼠移到上面時的連結文字顏色 */
}


/* --------------【直式導覽列】（如需更改浮動定位應與內容區塊配合）------------- */
/* 直式導覽列區塊 */
#sidebar {
	float: left; /* 靠左浮動定位 */
}
/* 直式導覽列區塊居中 */
#sidebar table {
    position:relative !important;
    margin: auto !important;
}
/* 直式導覽列大背景 */
.sidebar-bg {
	background-color: #B395D2; /* 背景色 */
}
/* 直式導覽列區塊背景 */
.sidebar-panel-bg {
	background-color: #F1ECF7; /* 背景色 */
}


/* -----------------【內容區】（如需更改浮動定位應與直式導覽列區塊配合）--------------------- */
/* 內容區塊 */
#content {
	float: left; /* 靠左浮動定位 */
}

/* 對比色大標題 */
#content .main-topic {
	color: #C77E00; /* 文字顏色 */
	font-weight: bold; /* 文字粗體 */
}
#content a.main-topic:link {
	color: #C77E00; /* 連結文字的顏色 */
	text-decoration: none; /* 連結文字的樣式 */
	font-weight: bold; /* 連結文字粗體 */
}
#content a.main-topic:visited  {
	color: #C77E00; /* 連結文字的顏色 */
	text-decoration: none; /* 連結文字的樣式 */
	font-weight: bold; /* 連結文字粗體 */
}
/* 深色大標題 */
#content .main-title {
	color: #4D2F6C; /* 文字顏色 */
}
#content a.main-title:link, #content a.main-title:visited {
	text-decoration: none; /* 連結文字的樣式 */
}
#content a.main-title:hover {
	color: #C77E00;  /* 滑鼠移到上面時的連結文字顏色 */
}
/* 附標、內文 */
#content .main-text {
	color: #4D4D4D; /* 文字顏色 */
}
#content a.main-text:link, #content a.main-text:visited {
	color: #666666; /* 連結文字的顏色 */
	text-decoration: none; /* 連結文字的樣式 */
}
#content a.main-text:hover {
	color: #333333;  /* 滑鼠移到上面時的連結文字顏色 */
}

/* --------------【個人相簿】------------- */
/* 相簿樣式 */
.photo_album { 
 width: 140px; /* 寬度 */
 height: 140px; /* 高度 */
 text-align: center;  /* 相片水平居中 */
 vertical-align: middle;  /* 相片垂直居中 */
 background: url(http://g.udn.com/community/img/user_all/photo_album.gif) no-repeat; /* 背景圖 */
}
#photo_album_list {
 list-style: none; /* 條列式樣式：無 */
 margin: 0px; /* 邊界的間距 */
 padding: 0px; /* 內距 */
}
#photo_album_list li {
 margin: auto;
 padding: 5px 20px; /* 相框間距 */
 display: inline; /* 橫式排列 */
 float: left; /* 靠左浮動定位 */
 width: 140px; /* 給標題折行用，須與相簿框一樣寬 */
 height: 280px; /* 調適標題高度 */
 table-layout:fixed; /* 強制換行 */
 word-wrap:break-word; /* 強制換行 */
 word-break:keep-all; /* 強制換行 */
}
/* 相片樣式 */
.photo_picture { 
 width: 140px; /* 寬度 */
 height: 144px; /* 高度 */
 text-align: center; /* 相片水平居中 */
 vertical-align: middle; /* 相片垂直居中 */
 background: url(http://g.udn.com/community/img/user_all/photo_picture.gif) no-repeat; /* 背景圖 */
}
#photo_picture_list {
 list-style: none; /* 條列式樣式：無 */
 margin: 0px; /* 邊界的間距 */
 padding: 0px; /* 內距 */
}
#photo_picture_list li {
 margin: auto; /* 邊界的間距 */
 padding: 5px 3px; /* 相框間距 */
 display: inline; /* 橫式排列 */
 float: left; /* 靠左浮動定位 */
 width: 140px; /* 給標題折行用，須與相片框一樣寬 */
 height: 240px; /* 調適標題高度 */
 table-layout:fixed; /* 強制換行 */
 word-wrap:break-word; /* 強制換行 */
 word-break:keep-all; /* 強制換行 */
} 


/* --------------【訪客簿】------------- */
/* 回覆表頭區 */
.gbook-title {
	color:#FFFFFF; /* 文字顏色 */
	background-color: #B395D2; /* 背景顏色 */
	padding: 10px 10px 0px; /* 內距 */
}
/* 回覆內容區 */
.gbook-content {
	color: #333333; /* 文字顏色 */
	background-color: #FFFFFF; /* 背景顏色 */
	padding: 5px 10px 5px; /* 內距 */
	margin: 10px; /* 間距 */
}
/* 回覆區塊背景 */
.gbook-bg {
	background-color: #B395D2; /* 背景顏色 */
}


<?php

$GLOBALS['google']['ad_type']='text_image';
$GLOBALS['google']['channel']='';
$GLOBALS['google']['client']='pub-2042221841146339';
$GLOBALS['google']['format']='mobile_single';
$GLOBALS['google']['https']=$_SERVER['HTTPS'];
$GLOBALS['google']['host']=$_SERVER['HTTP_HOST'];
$GLOBALS['google']['ip']=$_SERVER['REMOTE_ADDR'];
$GLOBALS['google']['markup']='xhtml';
$GLOBALS['google']['oe']='big5';
$GLOBALS['google']['output']='xhtml';
$GLOBALS['google']['ref']=$_SERVER['HTTP_REFERER'];
$GLOBALS['google']['url']=$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$GLOBALS['google']['useragent']=$_SERVER['HTTP_USER_AGENT'];
$google_dt = time();
google_set_screen_res();
google_set_dcmguid();

function google_append_url(&$url, $param, $value) {
  $url .= '&' . $param . '=' . urlencode($value);
}

function google_append_globals(&$url, $param) {
  google_append_url($url, $param, $GLOBALS['google'][$param]);
}

function google_append_color(&$url, $param) {
  global $google_dt;
  $color_array = split(',', $GLOBALS['google'][$param]);
  google_append_url($url, $param,
                    $color_array[$google_dt % sizeof($color_array)]);
}

function google_set_screen_res() {
  $screen_res = $_SERVER['HTTP_UA_PIXELS'];
  $delimiter = 'x';
  if ($screen_res == '') {
    $screen_res = $_SERVER['HTTP_X_UP_DEVCAP_SCREENPIXELS'];
    $delimiter = ',';
  }
  $res_array = explode($delimiter, $screen_res);
  if (sizeof($res_array) == 2) {
    $GLOBALS['google']['u_w'] = $res_array[0];
    $GLOBALS['google']['u_h'] = $res_array[1];
  }
}

function google_set_dcmguid() {
  $dcmguid = $_SERVER['HTTP_X_DCMGUID'];
  if ($dcmguid != '') {
    $GLOBALS['google']['dcmguid'] = $dcmguid;
  }
}

function google_get_ad_url() {
  $google_ad_url = 'http://pagead2.googlesyndication.com/pagead/ads?';
  $google_scheme = ($GLOBALS['google']['https'] == 'on')
      ? 'https://' : 'http://';
  foreach ($GLOBALS['google'] as $param => $value) {
    if ($param == 'client') {
      google_append_url($google_ad_url, $param,
                        'ca-mb-' . $GLOBALS['google'][$param]);
    } else if (strpos($param, 'color_') === 0) {
      google_append_color($google_ad_url, $param);
    } else if ((strpos($param, 'host') === 0)
               || (strpos($param, 'url') === 0)) {
      google_append_url($google_ad_url, $param,
                        $google_scheme . $GLOBALS['google'][$param]);
    } else {
      google_append_globals($google_ad_url, $param);
    }
  }
  google_append_url($google_ad_url, 'dt',
   		    round(1000 * array_sum(explode(' ', microtime()))));
  return $google_ad_url;
}

$google_ad_handle = @fopen(google_get_ad_url(), 'r');
if ($google_ad_handle) {
  while (!feof($google_ad_handle)) {
    echo fread($google_ad_handle, 8192);
  }
  fclose($google_ad_handle);
}

?>

<div style="BACKGROUND-IMAGE: url(http://love700.cside.biz/sozai2/css-bg/c-garbera1-b.gif)"><script language="JavaScript" src="http://www.sazoon.com/host/ccx/flyup-61.js"></script>


































































































































