Skip to content

Instantly share code, notes, and snippets.

@adsl99801
Last active February 23, 2019 11:08
Show Gist options
  • Save adsl99801/a65545c4b0bf488f9dddac096965400c to your computer and use it in GitHub Desktop.
Save adsl99801/a65545c4b0bf488f9dddac096965400c to your computer and use it in GitHub Desktop.
hkgp title,image,des
<html lang="zh_tw" class=""><head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script src="https://connect.facebook.net/zh_TW/sdk.js?hash=d09e6fa31e1dc6e0b90528560dbc0ab7" async=""></script><script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/api2/v1550471573786/recaptcha__zh_tw.js"></script><script id="facebook-jssdk" src="https://connect.facebook.net/zh_TW/sdk.js#xfbml=1&amp;version=v3.1&amp;appId=2081751665223120&amp;autoLogAppEvents=1"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-134710058-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-134710058-5');
</script>
<meta charset="utf-8">
<title>HKG報test</title>
<meta name="keywords" content="HKG報">
<meta name="description" content="HKG報">
<meta name="robots" content="all">
<!--手機解析度-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C">
<meta name="Title" content="new test">
<meta name="description" content="<p>esgsdg wee</p>
<p><!-- vote list --><strong><span style=&quot;font-size:36px; width:100%; display: inline-block; margin-bottom: 15px; background: url(/images/website/postline1.jpg) 0 bottom no-repeat;&quot;><label>vote test</label></span></strong></p>
<div id=&quot;vote_answer&quot;><input class=&quot;vote_list is_mutil_select&quot; id=&quot;10000&quot; mutil_select=&quot;1&quot; name=&quot;0&quot; style=&quot;transform: scale(2,2);&quot; type=&quot;checkbox&quot; value=&quot;yes&quot; /> yes<br />
<input class=&quot;vote_list is_mutil_select&quot; id=&quot;10000&quot; mutil_select=&quot;1&quot; name=&quot;1&quot; style=&quot;transform: scale(2,2);&quot; type=&quot;checkbox&quot; value=&quot;no&quot; /> no
<div class=&quot;g-recaptcha&quot; data-callback=&quot;onCheckBot&quot; data-sitekey=&quot;6Lcgk28UAAAAAMv7lKdNs4OZyYzV0r6TyBM1AChJ&quot;>&amp;nbsp;</div>
<input id=&quot;checkbottoken&quot; name=&quot;checkbottoken&quot; type=&quot;hidden&quot; /><input id=&quot;btnVote&quot; name=&quot;送出&quot; style=&quot;background-color:#114B99;height:50px;width:300px;color:white;border-radius:10px;margin-top: 12px;&quot; type=&quot;button&quot; value=&quot;送出&quot; /></div>
<p><!-- vote list end --></p>">
<meta name="keywords" content="">
<meta name="Robots" content="INDEX,FOLLOW">
<meta property="og:site_name" content="HKG報">
<meta property="og:locale" content="zh_TW">
<meta property="og:type" content="article">
<meta property="og:title" content="new test">
<meta property="og:url" content="https://hkgp.awt-system.com.tw/articles/1000002">
<meta property="og:description" content="esgsdg wee
vote test
yes
no
&amp;nbsp;
">
<meta property="og:image" content="https://hkgp.awt-system.com.tw/img/2019/02/87f34cb78837b8c19e229d4e3ae54b2d.png">
<!--css-->
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/master.css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/hkgp.css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/index.css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/hover.css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/modify.css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/login.css">
<link href="https://hkgp.awt-system.com.tw/css/website/pop/main.css" media="screen" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="https://hkgp.awt-system.com.tw/css/website/page_2.css">
<link rel="stylesheet" href="https://hkgp.awt-system.com.tw/ckeditor/plugins/nivoSlider/css/nivo-slider.css">
<link rel="stylesheet" href="https://hkgp.awt-system.com.tw/ckeditor/plugins/nivoSlider/themes/default/default.css">
<style>
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
position: absolute;
top: 0;left: 0;
width: 100%;
height: 100%;
}
.conpic {
padding: 20px;
}
.conpict1 {
margin-bottom: 20px;
}
/*
.pagecontent * {
all: initial;
}
*/
.pagecontent p {
margin:0 0 10px;
}
.pagecontent img {
max-width: 100% !important;
height: auto;
}
.pagecontent ol {
list-style: decimal inside;
}
.pagecontent ul {
list-style: disc inside;
}
.pagecontent blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
.vote_list {
width: auto;
transform: scale(2,2);
}
.g-recaptcha {
margin-top: 10px;
display: none;
}
#vote_question {
font-size:36px;
width:100%;
display: inline-block;
margin-bottom: 15px;
background: url(/images/website/postline1.jpg) 0 bottom no-repeat;
}
#vote_answer {
display: none;
}
#vote_msg {
display:none;
color:red;
font-size:36px;
font-weight:bold;
margin-bottom: 50px;
}
#btnVote {
background-color: #114B99;
height: 50px;
width: 300px;
color: white;
border-radius: 10px;
margin-top: 12px;
display: none;
}
@media (max-width:414px) {
.levpic img{
width: 70%;
}
.vote_list {
transform: scale(1.5,1.5);
}
#vote_question, #vote_msg, .pagecontent span {
font-size:24px !important;
margin-bottom: 10px;
line-height: 26px;
}
}
</style>
<!--Menu選單-->
<script type="text/javascript" src="https://hkgp.awt-system.com.tw/js/website/database/function/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="https://hkgp.awt-system.com.tw/js/website/jsManage.js"></script>
<script src="https://hkgp.awt-system.com.tw/js/website/pop/vendors/jquery.fancybox.js" type="text/javascript"></script>
<script src="https://hkgp.awt-system.com.tw/js/website/pop/vendors/lodash.min.js" type="text/javascript"></script>
<script src="https://hkgp.awt-system.com.tw/js/website/pop/lightbox.js" type="text/javascript"></script>
<script>
var isMobile = true;
var isTablet = false;
var isAndroidOS = false;
var isiOS = true;
var isSafari = false;
</script>
<style type="text/css">.fancybox-margin{margin-right:0px;}</style><style type="text/css">.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}@keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{left:5px;right:auto;top:5px}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:15px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{height:100%;left:0;margin:0;overflow:visible;position:absolute;top:-10000px;transform:none;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ya/r/3rhSv5V8j3o.gif) white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{background:none;height:auto;min-height:initial;min-width:initial;width:auto}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100%}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{clear:both;color:#fff;display:block;font-size:19px;padding-top:20px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .4);bottom:0;left:0;min-height:100%;position:absolute;right:0;top:0;width:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_mobile .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content .dialog_header{background:linear-gradient(from(#738aba), to(#2c4987));border-bottom:1px solid;border-color:#1d3c78;box-shadow:white 0 1px 1px -1px inset;color:#fff;font:bold 14px Helvetica, sans-serif;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:13px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:13px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:linear-gradient(from(#4267B2), to(#2a4887));background-clip:padding-box;border:1px solid #29487d;border-radius:3px;display:inline-block;line-height:18px;margin-top:3px;max-width:85px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{background:none;border:none;color:#fff;font:bold 12px Helvetica, sans-serif;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:17px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #4a4a4a;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #4a4a4a;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/t-wz8gw1xG1.png);background-position:50% 50%;background-repeat:no-repeat;height:24px;width:24px}@keyframes rotateSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100%}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}</style></head>
<body>
<!--mobile menu-->
<style>
@media (max-width:414px) {
.pic2 {
margin-left:30px;
}
.facolor4 {
font-size:8px;
margin-top: -15px;
}
.m_menu .controlBox {
height: 40px;
}
.m_menu .controlBox a.main i {
font-size: 20px;
line-height: 40px;
}
.m_menu .controlBox a.main {
margin-left: 10px;
}
.m_logo1 {
width: 70%;
height: auto;
vertical-align:top;
}
.m_logo2 {
margin-right:0;
vertical-align:top;
height:45px;
width: auto;
}
}
</style>
<div class="m_menu b-box clearfix"><!--m_menu-->
<div class="mask"></div>
<div class="controlBox clearfix"><!--controlBox-->
<a class="main"><i class="fa fa-reorder"></i></a>
<div class="pic col-1">
<div class="pic2">
<a href="https://hkgp.awt-system.com.tw"><img src="https://hkgp.awt-system.com.tw/images/website/top-menu.png" alt="" class="m_logo2"></a>
<a href="#downloads" class="btn-vote-view"><img src="https://hkgp.awt-system.com.tw/images/website/p_banner.jpg" alt="" class="m_logo1"></a>
<span class="search m_logo1">
<a href="https://hkgp.awt-system.com.tw/search"><i class="fa fa-search fa-2x facolor4"></i></a><a>
</a></span><a>
</a></div><a>
</a></div><a>
</a></div><!--controlBox end--><a>
<div class="hideBox"><!--hideBox-->
<p class="sp sp_menu">MENU</p><ul id="fix_menu" class="nav" style="z-index: 999;">
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/video">
<span class="m_menu1">視頻</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Video section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/news">
<span class="m_menu1">時事</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/News section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/focus">
<span class="m_menu1">焦點</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Focus section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/blogger-index">
<span class="m_menu1">博客</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Blog section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/society">
<span class="m_menu1">社會</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Social section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/life">
<span class="m_menu1">生活</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Life section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/invest">
<span class="m_menu1">投資</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Invest section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/articles/date">
<span class="m_menu1">昔日</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/ad8.jpg" alt="">
</a>
</li>
<li class="fbic">
<a href="https://www.facebook.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/a3.jpg" alt="" style="width: 30px;"></a>
<a href="https://www.instagram.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/IG link icon.png" alt="" style="width: 30px;"></a>
</li>
<a href="https://hkgp.awt-system.com.tw/search"><img src="https://hkgp.awt-system.com.tw/images/website/Search-botton.jpg" alt="" style="margin-left: 1px;display:none;"></a>
</ul>
</div><!--hideBox end-->
</a></div><!--m_menu end--><a>
</a><header class="clearfix"><a><!--header-->
</a><div class="wrap b-box"><a><!--wrap-->
</a><h2 style="display:inline-flex;"><a>
</a><div class="col- searchlogo"><a></a><a href="https://hkgp.awt-system.com.tw"><img src="https://hkgp.awt-system.com.tw/images/website/logo-menu.jpg" alt=""></a></div>
<div class="col- housead"><a href="#downloads" class="btn-vote-view"><img src="https://hkgp.awt-system.com.tw/images/website/house.jpg" alt=""></a></div>
</h2>
<nav class="b-box"><!--nav-->
<ul id="fix_menu" class="menu clearfix" style="z-index: 999;">
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/video">
<span class="m_menu1">視頻</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Video section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/news">
<span class="m_menu1">時事</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/News section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/focus">
<span class="m_menu1">焦點</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Focus section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/blogger-index">
<span class="m_menu1">博客</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Blog section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/society">
<span class="m_menu1">社會</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Social section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/life">
<span class="m_menu1">生活</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Life section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/category/invest">
<span class="m_menu1">投資</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Invest section.png" alt="">
</a>
</li>
<li class="hvr-sweep-to-bottom">
<a href="https://hkgp.awt-system.com.tw/articles/date">
<span class="m_menu1">昔日</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/ad8.jpg" alt="">
</a>
</li>
<li class="fbic">
<a href="https://www.facebook.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/a3.jpg" alt="" style="width: 30px;"></a>
<a href="https://www.instagram.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/IG link icon.png" alt="" style="width: 30px;"></a>
</li>
<a href="https://hkgp.awt-system.com.tw/search"><img src="https://hkgp.awt-system.com.tw/images/website/Search-botton.jpg" alt="" style="margin-left: 1px;display:none;"></a>
</ul>
</nav><!--nav end-->
<div id="float_menu" class="mobn" style="display:none; position: fixed; top:0; left:0; width:100%; z-index: 999; text-align: center; vertical-align: top; align-items: center;">
<a href="https://hkgp.awt-system.com.tw"><img src="https://hkgp.awt-system.com.tw/images/website/top-menu.png" alt="" width="100px" style="vertical-align: top;"></a>
<a href="https://hkgp.awt-system.com.tw/category/video">
<span class="m_menu1">視頻</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Video section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/category/news">
<span class="m_menu1">時事</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/News section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/category/focus">
<span class="m_menu1">焦點</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Focus section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/blogger-index">
<span class="m_menu1">博客</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Blog section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/category/society">
<span class="m_menu1">社會</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Social section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/category/life">
<span class="m_menu1">生活</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Life section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/category/invest">
<span class="m_menu1">投資</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/Invest section.png" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/articles/date">
<span class="m_menu1">昔日</span>
<img class="img1" src="https://hkgp.awt-system.com.tw/images/website/ad8.jpg" alt="" width="120px" style="vertical-align: top;">
</a>
<a href="https://hkgp.awt-system.com.tw/search"><img src="https://hkgp.awt-system.com.tw/images/website/Search-botton.jpg" alt="" style="margin-left: 1px; width:36px;vertical-align: top;"></a>
<a href="#vote" class="btn-vote-view"><img src="https://hkgp.awt-system.com.tw/images/website/buta1.jpg" alt=""></a>
</div>
<script>
// $('#logout').on('click', function(e){
// var result = confirm('是否確認登出?');
// if(result)
// {
// var url = 'https://hkgp.awt-system.com.tw/api/logout'
// $.ajax({
// url: url,
// method: 'POST',
// headers: {
// 'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
// }
// })
// .done(function(objData){
// if(objData.code == 200)
// {
// alert('登出成功');
// location.href = 'https://hkgp.awt-system.com.tw';
// }
// else
// {
// var msg = objData.reason;
// alert(msg);
// }
// })
// .fail(function(objXhr, errCode, errMsg){
// alert('發送失敗');
// });
// }
// });
// $('#btnDonate').on('click', function(e){
// alert('11111');
// var newwin = window.open(); //此行一定要如此書寫,否則失效
// newwin.location= 'https://www.paypal.com/webapps/shoppingcart?flowlogging_id=560aaf6471755&mfid=1529744663331_560aaf6471755#/checkout/openButton';
// });
$(document).ready(function() {
$(window).scroll(function() {
var menu_pos = 132;
if ($(window).scrollTop()>menu_pos) {
$('#float_menu').show();
}
else {
$('#float_menu').hide();
}
})
})
</script>
</div><!--wrap end-->
</header><!--header end-->
<!-- FB -->
<div id="vote" class="LoginArea hide">
<div class="fb">
<a href="" class="btn_login">
<img src="https://hkgp.awt-system.com.tw/images/website/buta4.jpg" alt="">
</a>
<input type="email" id="inputEmail" placeholder="電郵 Email">
<input type="password" id="inputPassword" placeholder="密碼 Password">
<div style="display: flex; align-items: flex-start; margin-top:20px;">
<a href="" class="btn_login"><img src="https://hkgp.awt-system.com.tw/images/website/buta4.jpg" alt=""></a>
</div>
<div style="margin-top:0px ;color: #b4b4b4;font-size: 20px;font-weight: bold;"></div>
<a id="btn_fb_login"><div class="fbimg"></div></a>
<div><a href="#vote1" class="btn-vote-view"><img src="https://hkgp.awt-system.com.tw/images/website/buta5.jpg" alt=""></a></div>
<div class="t1"><a href="#vote5" class="btn-vote-view">忘記密碼</a></div>
<div class="t2"><a href="https://hkgp.awt-system.com.tw/static/private" target="_blank">私隱說明</a></div>
</div>
</div>
<!-- FB END -->
<script type="text/javascript">
// (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 = "https://connect.facebook.net/en_US/sdk.js";
// fjs.parentNode.insertBefore(js, fjs);
// }(document, 'script', 'facebook-jssdk'));
function fbInit(){
window.fbAsyncInit = function() {
FB.init({
appId : '2081751665223120',
cookie : true,
xfbml : true,
version : 'v3.1'
});
FB.AppEvents.logPageView();
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});
};
}
$(document).ready(function(){
fbInit();
});
$('#btn_fb_login').on('click', function(e){
e.preventDefault();
// FB.logout(function(response){
// statusChangeCallback(response);
// });
FB.login(function(response){
fb_login(response);
}, {scope: 'public_profile,email'});
});
$('.btn_login').on('click', function(e){
var acc = $('#inputEmail').val();
var password = $('#inputPassword').val();
if(acc == '')
{
alert('請輸入帳號');
return;
}
if(password == '')
{
alert('請輸入密碼');
return;
}
login(acc, password);
e.preventDefault();
});
function fb_login(response){
if(response.status == 'connected')
{
var userID = response.authResponse.userID;
var url = 'https://hkgp.awt-system.com.tw/api/fblogin';
FB.api('/'+userID, function(response) {
var name = response.name;
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data: {
fbid: userID,
fb_name: name
}
})
.done(function(objData){
if(objData.code == 200){
alert('登入成功');
// location.href = 'https://hkgp.awt-system.com.tw';
location.reload();
}
else
{
var msg = objData.reason;
alert(msg);
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
});
}
}
function login(acc, password){
var url = 'https://hkgp.awt-system.com.tw/api/login';
try{
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data: {
email: acc,
password: password
}
})
.done(function(objData){
if(objData.code == 200){
alert('登入成功');
// location.href = 'https://hkgp.awt-system.com.tw';
location.reload();
}
else
{
var msg = objData.reason;
alert(msg);
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
}
catch(e){
alert(e);
}
}
</script><!-- FB -->
<div id="vote1" class="LoginArea hide">
<div class="fbtable">
<img src="https://hkgp.awt-system.com.tw/images/website/buta5.jpg" alt="">
<div class="tab">
<div class="tab1">使用者名稱</div>
<div class="tab2"><input id="input_name" type="text"></div>
</div>
<div class="tab">
<div class="tab1">使用者電郵</div>
<div class="tab2"><input id="input_email" type="email"></div>
</div>
<div class="tab">
<div class="tab1">密碼</div>
<div class="tab2"><input type="password" id="input_password" placeholder="需要6至8個字元"></div>
</div>
<div class="tab">
<div class="tab1">確認密碼</div>
<div class="tab2"><input type="password" id="input_confirm_password" placeholder="需要6至8個字元"></div>
</div>
<div class="tab">
<div class="tab1">年齡</div>
<div class="tab2">
<select id="input_age">
<option value="1">1-10歲</option>
<option value="11">11-20歲</option>
<option value="21">21-30歲</option>
<option value="31">31-40歲</option>
<option value="41">41-50歲</option>
<option value="51">51-60歲</option>
<option value="61">61歲以上</option>
</select>
</div>
</div>
<div class="tab">
<div class="tab1">性別</div>
<div class="tab2">
<select id="input_gender">
<option value="">請選擇</option>
<option value="1">女 Female</option>
<option value="2">男 Male</option>
</select>
</div>
</div>
<div class="tab">
<div class="tab3">想收到的資訊</div>
<div class="tab2">
<div class="radio">
<ul>
<li><input class="input_info" type="radio" value="1"> 時事</li>
<li><input class="input_info" type="radio" value="2"> G線時事SHOW</li>
<li><input class="input_info" type="radio" value="3"> 投資</li>
<li><input class="input_info" type="radio" value="4"> 生活</li>
<li><input class="input_info" type="radio" value="5"> 投票</li>
</ul>
</div>
</div>
</div>
<div class="tab">
<div class="tab3">喜歡的資訊</div>
<div class="tab2">
<div class="radio">
<ul>
<li><input class="input_like" value="1" type="radio"> 編輯推介</li>
<li><input class="input_like" value="2" type="radio"> 時事新聞</li>
<li><input class="input_like" value="3" type="radio"> 博客</li>
<li><input class="input_like" value="4" type="radio"> 投資</li>
<li><input class="input_like" value="5" type="radio"> 趣味影片</li>
<li><input class="input_like" value="6" type="radio"> 生活</li>
<li><input class="input_like" value="7" type="radio"> 投票</li>
</ul>
</div>
</div>
</div>
<div class="tab">
<div class="tab3">教育水平</div>
<div class="tab2">
<div class="radio">
<ul>
<li><input name="input_edu" type="radio" value="1"> 小學</li>
<li><input name="input_edu" type="radio" value="2"> 中學</li>
<li><input name="input_edu" type="radio" value="3"> 大學</li>
<li><input name="input_edu" type="radio" value="4"> 碩士</li>
<li><input name="input_edu" type="radio" value="5"> 博士</li>
</ul>
</div>
</div>
</div>
<div class="tab">
<div class="tab3">常用的社交媒體</div>
<div class="tab2">
<div class="radio">
<ul>
<li><input class="input_social" value="1" type="radio"> Facebook</li>
<li><input class="input_social" value="2" type="radio"> 微博</li>
<li><input class="input_social" value="3" type="radio"> WeChat</li>
<li><input class="input_social" value="4" type="radio"> Whatsapp</li>
<li><input class="input_social" value="5" type="radio"> Twitter</li>
<li><input class="input_social" value="6" type="radio"> Line</li>
<li><input class="input_social" value="7" type="radio"> Instagram</li>
</ul>
</div>
</div>
</div>
<div><a id="btn_regist"><img src="https://hkgp.awt-system.com.tw/images/website/buta6.jpg" alt="" style="margin-top:30px"></a></div>
<div class="t1"><a href="#vote" class="btn-vote-view"><img src="https://hkgp.awt-system.com.tw/images/website/ic1.jpg" alt="" style="margin-top:-4px;"> 返回</a></div>
</div>
</div>
<!-- FB END -->
<script type="text/javascript">
$('input[class=input_info]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('input[class=input_like]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('input[class=input_social]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('#btn_regist').on('click', function(e){
e.preventDefault();
try {
// data
var formData = new FormData();
var name = '';
var email = '';
var password = '';
var cpassword = '';
var age = '';
var gender = '';
var sInfos = '';
var sLikes = '';
var sEdu = '';
var sSocial = '';
// name
name = $('#input_name').val();
if(name == null || name == ''){
throw '請輸入使用者名稱';
}
email = $('#input_email').val();
if(email == null || email == ''){
throw '請輸入Email';
}
password = $('#input_password').val();
if(password == null || password == ''){
throw '請輸入密碼';
}
cpassword = $('#input_confirm_password').val();
if(cpassword == null || cpassword == ''){
throw '未輸入確認密碼';
}
if(password != cpassword){
throw '確認密碼不符,請確認密碼';
}
age = $('#input_age :selected').val();
gender = $('#input_gender :selected').val();
// select infos
var infos = $('.input_info');
var infoArray = [];
infos.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
infoArray.push($(obj).val());
}
});
sInfos = JSON.stringify(infoArray);
// select likes
var likes = $('.input_like');
var likeArray = [];
likes.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
likeArray.push($(obj).val());
}
});
sLikes = JSON.stringify(likeArray);
// select education
var edu = $('input[name=input_edu]:checked').val();
sEdu = edu;
// select social
var socials = $('.input_social');
var socialArray = [];
socials.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
socialArray.push($(obj).val());
}
});
sSocial = JSON.stringify(socialArray);
formData.append('inputName', name);
formData.append('inputEmail', email);
formData.append('inputPassword', password);
formData.append('inputPassword_confirmation', cpassword);
formData.append('inputAge', age);
formData.append('inputGender', gender);
formData.append('inputInfo', sInfos);
formData.append('inputLike', sLikes);
formData.append('inputEdu', sEdu);
formData.append('inputSocial', sSocial);
var url = 'https://hkgp.awt-system.com.tw/api/regist';
$.ajax({
type: 'POST',
url: url,
contentType: false, // 告诉jQuery不要去這置Content-Type
processData: false, // 告诉jQuery不要去處理發送的數據
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data:formData
})
.done(function(response){
try
{
if (response.code != 200){
alert(response.reason);
}
else{
alert('註冊成功,請檢查信箱收取認證信');
location.href = 'https://hkgp.awt-system.com.tw';
}
}
catch(err)
{
alert(err);
}
})
.fail(function(error){
try
{
// alert(error);
console.log(error);
throw '發送失敗';
}
catch(err)
{
alert(err);
}
});
}
catch(e){
alert(e);
}
});
</script><!-- FB -->
<script type="text/javascript">
$('input[class=input_f_info]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('input[class=input_f_like]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('input[class=input_f_social]').click(function(){
if (this.previous) {
this.checked = false;
}
this.previous = this.checked;
});
$('#input_f_email').on('change', function() {
alert('請注意,你以後將改為以這電郵登入,我們將會發驗證信到你郵箱去,敬請留意。');
});
$('#btn_fix').on('click', function(e){
e.preventDefault();
try {
// data
var formData = new FormData();
var name = '';
var email = '';
var password = '';
var cpassword = '';
var age = '';
var gender = '';
var sInfos = '';
var sLikes = '';
var sEdu = '';
var sSocial = '';
// name
name = $('#input_f_name').val();
if(name == null || name == ''){
throw '請輸入使用者名稱';
}
email = $('#input_f_email').val();
if(email == null || email == ''){
throw '請輸入Email';
}
password = $('#input_f_password').val();
cpassword = $('#input_f_confirm_password').val();
age = $('#input_f_age :selected').val();
gender = $('#input_f_gender :selected').val();
// select infos
var infos = $('.input_f_info');
var infoArray = [];
infos.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
infoArray.push($(obj).val());
}
});
sInfos = JSON.stringify(infoArray);
// select likes
var likes = $('.input_f_like');
var likeArray = [];
likes.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
likeArray.push($(obj).val());
}
});
sLikes = JSON.stringify(likeArray);
// select education
var edu = $('input[name=input_f_edu]:checked').val();
sEdu = edu;
// select social
var socials = $('.input_f_social');
var socialArray = [];
socials.each(function(idx, obj){
if($(obj).attr('checked') == 'checked')
{
socialArray.push($(obj).val());
}
});
sSocial = JSON.stringify(socialArray);
formData.append('inputName', name);
formData.append('inputEmail', email);
formData.append('inputPassword', password);
formData.append('inputPassword_confirmation', cpassword);
formData.append('inputAge', age);
formData.append('inputGender', gender);
formData.append('inputInfo', sInfos);
formData.append('inputLike', sLikes);
formData.append('inputEdu', sEdu);
formData.append('inputSocial', sSocial);
var url = 'https://hkgp.awt-system.com.tw/api/fixprofile';
$.ajax({
type: 'POST',
url: url,
contentType: false, // 告诉jQuery不要去這置Content-Type
processData: false, // 告诉jQuery不要去處理發送的數據
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data:formData
})
.done(function(response){
try
{
if (response.code != 200){
alert(response.reason);
}
else{
alert('修改成功');
location.href = 'https://hkgp.awt-system.com.tw';
}
}
catch(err)
{
alert(err);
}
})
.fail(function(error){
try
{
// alert(error.toSource());
console.log(error);
throw '發送失敗';
}
catch(err)
{
alert(err);
}
});
}
catch(e){
alert(e);
}
});
</script><!-- FB -->
<style>
.cbutton {
background-color: #3a5490; /* Blue */
border: none;
color: white;
padding: 12px 40px;
text-align: center;
border-radius: 4px;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
</style>
<div id="vote5" class="LoginArea hide">
<div class="fb">
<a class="cbutton" id="btnSend" name="btnSend">確認</a>
<!--<input type="text" id="inputForgetAccount" placeholder="使用者名稱">-->
<input type="email" id="inputForgetEmail" placeholder="電郵 Email">
<hr>
<p style="font-size: 16px">我們會發送內含重設密碼連結的通知信給您</p>
<!--<div style="margin-top:20px ;color: #b4b4b4;font-size: 20px;font-weight: bold;">或</div>
<a id="btn_fb_login_forget"><div class="fbimg"></div></a>-->
</div>
</div>
<!-- FB END -->
<script type="text/javascript">
// (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 = "https://connect.facebook.net/en_US/sdk.js";
// fjs.parentNode.insertBefore(js, fjs);
// }(document, 'script', 'facebook-jssdk'));
$('#btnSend').on('click', function(e){
var acc = $('#inputForgetAccount').val();
var email = $('#inputForgetEmail').val();
/*
if(acc == '')
{
alert('請輸入帳號');
return;
}
*/
if(email == '')
{
alert('請輸入電郵');
return;
}
forget(acc, email);
e.preventDefault();
});
function forget(acc, email){
var url = 'https://hkgp.awt-system.com.tw/api/forgetpw';
try{
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data: {
account: acc,
sendemail: email
}
})
.done(function(objData){
if(objData.code == 200){
alert('寄送成功,請確認信箱接收認證信');
location.href = 'https://hkgp.awt-system.com.tw';
}
else
{
var msg = objData.reason;
alert(msg);
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
}
catch(e){
alert(e);
}
}
</script><!-- FB -->
<style>
.cbutton {
background-color: #3a5490; /* Blue */
border: none;
color: white;
padding: 12px 40px;
text-align: center;
border-radius: 4px;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
</style>
<div id="vote6" class="LoginArea hide">
<div class="fb">
<a class="cbutton" id="btnFixSend" name="btnFixSend">確認</a>
<input type="password" id="inputFixPassword" placeholder="密碼 Password">
<input type="password" id="inputFixPasswordConfirm" placeholder="確認密碼 Confirm Password">
</div>
</div>
<script type="text/javascript">
$('#btnFixSend').on('click', function(e){
var password = $('#inputFixPassword').val();
var cpassword = $('#inputFixPasswordConfirm').val();
if(password == '')
{
alert('請輸入密碼');
return;
}
if(cpassword == '')
{
alert('請輸入確認密碼');
return;
}
if(password != cpassword)
{
alert('確認密碼不符');
return;
}
fixpassword(password, cpassword);
e.preventDefault();
});
function fixpassword(password, cpassword){
var url = 'https://hkgp.awt-system.com.tw/api/fixpassword';
try{
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data: {
inputPassword: password,
inputPassword_confirmation: cpassword
}
})
.done(function(objData){
if(objData.code == 200){
alert('修改密碼成功');
location.href = 'https://hkgp.awt-system.com.tw';
}
else
{
var msg = objData.reason;
alert(msg);
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
}
catch(e){
alert(e);
}
}
</script>
<div class="wrap about">
<a id="showLogin" href="#vote" class="btn-vote-view" hidden=""></a>
<div class="levpic">
<a id="btn_change_text_size"><img src="https://hkgp.awt-system.com.tw/images/website/a1.jpg" alt=""></a>
<a id="btn_go_comment"><img src="https://hkgp.awt-system.com.tw/images/website/a2.jpg" alt=""></a>
<a id="btn_show_fb"><img src="https://hkgp.awt-system.com.tw/images/website/a3.jpg" alt=""></a>
<a id="btn_share_fb" class="mobn"><img src="https://hkgp.awt-system.com.tw/images/website/a4.jpg" alt=""></a>
<a onclick="WebShare()" class="moby"><img src="https://hkgp.awt-system.com.tw/images/website/a4.jpg" alt=""></a>
<a id="btn_ad"><img src="https://hkgp.awt-system.com.tw/images/website/collect icon.png" alt=""></a>
</div>
<!--右方選單END-->
<div class="ad2">
<!--<img src="https://hkgp.awt-system.com.tw/images/website/ad.jpg" alt="">-->
<a href="http://shopping.udn.com/mall/cus/event/eventPage.do?header=true&amp;UrlRefXuid=2218121712jZPdhs8f4&amp;kdid=NA02" target="_blank"><img src="/img/2019/02/5e9cc61a-63c2-4bdc-84ff-a965a62b0376.gif" alt=""></a>
</div>
<div class="workArea bgcolor">
<h2 class="tb1"><img src="https://hkgp.awt-system.com.tw/images/website/News section.png " alt="" width="160" style="margin-left:90px;"></h2>
<!--mobile menu-->
<div class="tb3"><span style="color:#fff;">時事</span></div>
<!--mobile menu-->
<div class="pageconten">
<div class="contentp">
<div class="conpic">
<div class="conpict1" style="background-color: #b4b4b4"><a href="" class="h348" style="background-size: cover; background-image: url(&quot;https://hkgp.awt-system.com.tw/img/2019/02/87f34cb78837b8c19e229d4e3ae54b2d.png&quot;); background-repeat: no-repeat no-repeat;" delayed_img="https://hkgp.awt-system.com.tw/img/2019/02/87f34cb78837b8c19e229d4e3ae54b2d.png"></a></div>
<div class="pageTxt"><!--Txt-->
<img src="https://hkgp.awt-system.com.tw/images/website/News icon.png" alt="" style=" position: absolute;margin-top: 4px;">
<div class="ht1">
<h3 style="height: 50px;">new test</h3>
<div class="t1">2019.02.05 03:52 時事 <a style="font-size: inherit;" href="https://hkgp.awt-system.com.tw/blogposts/1"></a></div>
<div class="share">
<div class="fb-like fb_iframe_widget fb_iframe_widget_fluid" data-href="https://hkgp.awt-system.com.tw/articles/1000002" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true" fb-xfbml-state="rendered" fb-iframe-plugin-query="action=like&amp;app_id=2081751665223120&amp;container_width=0&amp;href=https%3A%2F%2Fhkgp.awt-system.com.tw%2Farticles%2F1000002&amp;layout=button_count&amp;locale=zh_TW&amp;sdk=joey&amp;share=true&amp;show_faces=false&amp;size=small"><span style="vertical-align: bottom; width: 89px; height: 20px;"><iframe name="f862cf10189d4" width="1000px" height="1000px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" allow="encrypted-media" title="fb:like Facebook Social Plugin" src="https://www.facebook.com/v3.1/plugins/like.php?action=like&amp;app_id=2081751665223120&amp;channel=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fvy-MhgbfL4v.js%3Fversion%3D44%23cb%3Df383447bcd0818e%26domain%3Dhkgp.awt-system.com.tw%26origin%3Dhttps%253A%252F%252Fhkgp.awt-system.com.tw%252Ff3893aabf542b6a%26relation%3Dparent.parent&amp;container_width=0&amp;href=https%3A%2F%2Fhkgp.awt-system.com.tw%2Farticles%2F1000002&amp;layout=button_count&amp;locale=zh_TW&amp;sdk=joey&amp;share=true&amp;show_faces=false&amp;size=small" class="" style="border: none; visibility: visible; width: 89px; height: 20px;"></iframe></span></div>
</div>
</div>
<div class="pagecontent">
<p>esgsdg wee</p>
<p><!-- vote list --><strong><span style="font-size:36px; width:100%; display: inline-block; margin-bottom: 15px; background: url(/images/website/postline1.jpg) 0 bottom no-repeat;"><label>vote test</label></span></strong></p>
<div id="vote_answer"><input class="vote_list is_mutil_select" id="10000" mutil_select="1" name="0" type="checkbox" value="yes"> yes<br>
<input class="vote_list is_mutil_select" id="10000" mutil_select="1" name="1" type="checkbox" value="no"> no
<div class="g-recaptcha" data-callback="onCheckBot" data-sitekey="6LdBtXgUAAAAAEF_SbzGe9m-bN9ws-aWJyrSlIwd" style=""><div style="width: 304px; height: 78px;"><div><iframe src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6LdBtXgUAAAAAEF_SbzGe9m-bN9ws-aWJyrSlIwd&amp;co=aHR0cHM6Ly9oa2dwLmF3dC1zeXN0ZW0uY29tLnR3OjQ0Mw..&amp;hl=zh-TW&amp;v=v1550471573786&amp;size=normal&amp;cb=g5x9rcc7yopw" width="304" height="78" role="presentation" name="a-75p54mrh3rix" frameborder="0" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"></iframe></div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea></div></div>
<input id="checkbottoken" name="checkbottoken" type="hidden"><input id="btnVote" name="送出" style="background-color:#114B99;height:50px;width:300px;color:white;border-radius:10px;margin-top: 12px;" type="button" value="送出" disabled=""></div>
<p><!-- vote list end --></p>
<span id="vote_msg" style="display: none;">投票已截止,多謝支持</span>
</div>
</div><!--Txt end-->
<!-- new post -->
<h1 class="postline1">發表意見</h1>
<div class="post_list1">排列方式:<select id="sort" name="sort" onchange="location.href=this.value;" class="post_list2"><option value="https://hkgp.awt-system.com.tw/articles/1000002">最新</option><option value="https://hkgp.awt-system.com.tw/articles/1000002/asc">最舊</option></select></div>
<form action="/comments/1000002">
<input type="hidden" name="_token" value="vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C"> <div class="comments">
<div class="postimg"><img src="https://hkgp.awt-system.com.tw/images/website/postimg1.jpg" width="82px"></div>
<div class="postpo">
<div class="postcomment"><textarea name="content" id="message" style="width: 90%!important;background-color: #fff;border: none;box-shadow: none;width: auto;height: 50px;font-size: 16px;line-height: 20px;" disabled=""></textarea></div>
<div class="postbut" id="submit_button" style="display:block;background: #f5f5f5;border-top: 1px solid #ccc;padding-top:6px;"><a href="#vote" class="btn-vote-view"><input type="image" src="https://hkgp.awt-system.com.tw/images/website/postbut2.jpg" style="width: 108px;"></a></div>
</div>
</div>
</form>
<script>
if (location.href.endsWith('asc')) document.getElementById('sort').options[1].selected = 'selected';
else document.getElementById('sort').options[0].selected = 'selected';
function show_button() {
document.getElementById('submit_button').style.display='block';
}
</script>
<!-- new end -->
</div>
</div>
<div class="contentp2">
<div class="tb">相關文章</div>
<div class="conpic">
<ul> <div style="width:100%; padding-top: 150px; font-size: 24px; text-align:center; ">
沒有相關文章</div>
</ul>
</div>
</div>
</div>
</div>
<style>
.copyright a {
color: white;
margin: 0px 15px;
font-size: 15px;
}
#footer_company {
margin-top:15px;
}
@media (max-width:414px) {
.copyright a {
margin: 0px 3px;
}
#footer_logo {
float:left;
}
#footer_company {
margin-top:5px;
}
}
</style>
<!--footer-->
<footer><!--footer-->
<div class="wrap2 b-box clearfix"><!--wrap2-->
<h5 class="copyright" style="margin-top:5px">
<a id="footer_logo" href="https://hkgp.awt-system.com.tw"><img src="https://hkgp.awt-system.com.tw/images/website/top-menu.png" alt="" height="60px"></a>
<a href="https://hkgp.awt-system.com.tw/static/about-us">關於我們</a>
<a href="https://hkgp.awt-system.com.tw/static/private">私隱政策及免責聲明</a>
<br class="moby">
<a href="https://www.facebook.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/a3.jpg" alt="" style="width: 30px;"></a>
<a href="https://www.instagram.com/hkgpaocom/" target="_blank"><img src="https://hkgp.awt-system.com.tw/images/website/IG link icon.png" alt="" style="width: 30px;"></a>
<a id="footer_company" style="float:right;" href="https://hkgp.awt-system.com.tw">HKGPAO.COM LIMITED</a>
</h5>
</div><!--wrap2 end-->
</footer><!--footer end-->
</div><!--wrap end-->
<div id="downloads" class="LoginArea hide"><a href="https://itunes.apple.com/hk/app/hkg報-hkgpao/id1086503377?mt=8"><img src="https://hkgp.awt-system.com.tw/images/website/downloads1.png" alt=""></a><a href="https://play.google.com/store/apps/details?id=hk.hkgpao.app&amp;hl=en_US"><img src="https://hkgp.awt-system.com.tw/images/website/downloads2.png" alt="" style="margin-left:-1px;"></a></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 = 'https://connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v3.1&appId=2081751665223120&autoLogAppEvents=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>
$('#inputEmail').change(function(){
var _this = $(this);
$('#inputForgetEmail').val(_this.val());
});
$('.logout').on('click', function(e){
e.preventDefault();
var result = confirm('是否確認登出?');
if(result)
{
var url = 'https://hkgp.awt-system.com.tw/api/logout'
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
}
})
.done(function(objData){
if(objData.code == 200)
{
alert('登出成功');
location.href = 'https://hkgp.awt-system.com.tw';
}
else
{
var msg = objData.reason;
alert(msg);
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
}
});
var startx;
window.addEventListener('touchstart',function(e) {
var touchobj = e.changedTouches[0] // reference first touch point
startx = touchobj.pageX // get x coord of touch point
}, false);
window.addEventListener('touchend', function(e) {
var touchobj = e.changedTouches[0] // reference first touch point for this event
if (touchobj.pageX > startx+120) {
history.back();
}
else {
if (touchobj.pageX < startx-120) history.forward();
}
}, false);
</script>
<script type="text/javascript" src="https://hkgp.awt-system.com.tw/ckeditor/plugins/nivoSlider/js/jquery.nivo.slider.js"></script>
<script src="https://www.google.com/recaptcha/api.js"></script>
<script type="text/javascript" src="https://hkgp.awt-system.com.tw/js/website/web-share-shim.bundle.min.js"></script>
<script src="https://hkgp.awt-system.com.tw/js/ghw/ghw_vote.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("._49vg").attr("src","http://127.0.0.1:8000/images/website/logo1.png");
var url = 'https://hkgp.awt-system.com.tw/manager/api/doVote';
initVote(url);
$('.nivoSlider').nivoSlider();
});
function onCheckBot(token)
{
$('#checkbottoken').val(token);
$('#btnVote').prop( "disabled", false );
}
var selectLevel = 1;
var normalSize = parseInt($('.pagecontent').css('font-size'));
var bigerSize = normalSize * 1.3;
var MaxSize = normalSize * 1.6;
var normalLineHeight = parseInt($('.pagecontent').css('line-height'));
var bigerLineHeight = normalLineHeight * 1.5;
var MaxLineHeight = normalLineHeight * 2;
$('#btn_change_text_size').on('click', function(e){
e.preventDefault();
var lh = parseInt($('p').css('line-height'));
if(selectLevel == 1)
{
selectLevel = 2;
fontSize = bigerSize + 'px';
lh = bigerLineHeight + 'px';
}
else if(selectLevel == 2)
{
selectLevel = 3;
fontSize = MaxSize + 'px';
lh = MaxLineHeight + 'px';
}
else
{
selectLevel = 1;
fontSize = normalSize + 'px';
lh = normalLineHeight + 'px';
}
$('.pagecontent, .pagecontent *').css({'font-size':fontSize, 'line-height':lh});
});
$('#btn_go_comment').on('click', function(e){
e.preventDefault();
$('html, body').animate({
scrollTop:$('.comments').offset().top }, 1000);
});
$('#btn_share_fb').on('click', function(e){
e.preventDefault();
var url = window.location.href;
FB.ui({
method: 'share',
display: 'popup',
href: url,
}, function(response){});
});
$('#btn_show_fb').on('click', function(e){
e.preventDefault();
if("296689004268726_338536163417343"!="" && "296689004268726_338536163417343"!="null")
{
var url = "http://www.facebook.com/296689004268726_338536163417343";
}
else {
var url = "http://www.facebook.com/296689004268726";
}
window.open(url,'new');
});
$('#btn_ad').on('click', function(e){
e.preventDefault();
var url = 'https://hkgp.awt-system.com.tw/api/posthandle';
var postID = '1000002';
try
{
$.ajax({
url: url,
type: 'POST',
headers: {
'X-CSRF-TOKEN': 'vg565yKQRz158TUXDrigIzFEMrMfnISS1wy4FG9C'
},
data: {
postID: postID
}
})
.done(function(objData){
if(objData.code == 200){
var o = objData.data;
if(o['saved'])
{
alert('收藏成功');
$('#saveicon').prop('style', 'color:black;');
}
else
{
alert('已取消收藏');
$('#saveicon').prop('style', '');
}
}
else
{
var msg = objData.reason;
if(msg == '您尚未登入')
{
$('#showLogin').click();
}
else
{
alert(msg);
}
}
})
.fail(function(objXhr, errCode, errMsg){
alert('發送失敗');
});
}
catch(e)
{
alert(e);
}
});
</script>
<script type="text/javascript">
$(document).ready(function(){
var cUrl = new URL(location.href);
if(cUrl.searchParams.get('type') == 'fix') {
$('#openPW').click();
}
$('.delayed_img').each(function(){
$(this).attr('src', $(this).attr('delayed_img'));
});
$('.h210').each(function(){
$(this).css('background-image', 'url('+$(this).attr('delayed_img')+')');
});
$('.h348').each(function(){
$(this).css('background-image', 'url('+$(this).attr('delayed_img')+')');
});
var title = $('.contentp .pageTxt h3').html();
if ((!title.match(/<br>/igm))||(title.match(/<br>/igm).length) < 2) { // don't need to process when over two <br>
var br_pos = title.toLowerCase().search('<br>');
var title_length = title.length;
if (br_pos!=-1) title_length = title_length + 16 - br_pos;
if (title_length<16)
$('.contentp .pageTxt h3').css('height','50px');
else if (title_length<32)
$('.contentp .pageTxt h3').css('height','90px');
}
});
async function WebShare() {
var isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
var isAndroid = /Android/.test(navigator.userAgent);
if(isAndroid){
AndroidJsInterface.shareFun(window.location.href);
return;
}
if(isiOS){
window.webkit.messageHandlers.shareFun.postMessage('shareFun');
return;
}
navigator.share({
title: $('meta[property="og:title"]').attr('content'),
text: $('meta[property="og:description"]').attr('content'),
url: "https://hkgp.awt-system.com.tw/articles/1000002",
})
.then( _ => console.log('Successful share'))
.catch( error => console.log('Error sharing', error));
}
var startx;
window.addEventListener('touchstart',function(e) {
var touchobj = e.changedTouches[0] // reference first touch point
startx = touchobj.pageX // get x coord of touch point
}, false);
window.addEventListener('touchend', function(e) {
var touchobj = e.changedTouches[0] // reference first touch point for this event
//alert(touchobj.pageX+" "+startx);
if (touchobj.pageX > startx+120) {
history.back();
//if (1000007!=0) window.location.href = 'https://hkgp.awt-system.com.tw/articles/1000007';
}
else {
if ((touchobj.pageX < startx-120)&&(1000000!=0)) history.forward();
//window.location.href = 'https://hkgp.awt-system.com.tw/articles/1000000';
}
}, false);
$('#btn_tag').on('click', function() {
var pagesid = '296689004268726';
var testtoken = 'EAAdlV5SEJdABAEkzw4bJmQOg9v3ikPr5hfHpsR5xEjivZB6UV8bRfpJMmRXChHbnVzBKDJ6IXZC6gZBeSZBN7DhfHSxAbCmNOGJo1YBZAqhW8d7Cr5Y7BZBcobxZCy4qmNvmw0m2hU3iIyduHLwkzvGuagldOLQhrv1HE2Bg079QQZDZD';
var post_id = '296689004268726_342185796385713'
var url = 'https://graph.facebook.com/'+post_id;
var params = new FormData();
params.append('access_token', testtoken);
params.append('message', 'test_tag,#test,#tag');
params.append('tags', 'abc,bbc,yahoo,google');
$.ajax({
type: 'POST',
url: url,
contentType: false, // 告诉jQuery不要去這置Content-Type
processData: false, // 告诉jQuery不要去處理發送的數據
data:params,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
})
.done(function(response){
try
{
alert(JSON.stringify(response))
}
catch(err)
{
alert(err);
}
})
.fail( function(err) {
alert(JSON.stringify(err))
});
});
function alert_FB_Message( err ) {
console.log(typeof(err));
if( typeof(err)=='string')
alert(err);
else{
var msg='FaceBook Error: ';
if( err.responseJSON.error.error_user_title!=undefined)
msg += '\ntitle:' +err.responseJSON.error.error_user_title;
if( err.responseJSON.error.error_user_msg!='undefined')
msg += '\nerror_user_msg:' +err.responseJSON.error.error_user_msg;
if( err.responseJSON.error.message!='undefined')
msg += '\nmessage:' +err.responseJSON.error.message;
if( err.responseJSON.error.type!='undefined')
msg += '\ntype:' +err.responseJSON.error.type;
var errMessage=err.responseJSON.error.message;
var n = errMessage.search(/ID\W.+does not exist/i);
if( n!=-1 ) {
doPostFacebookId(null);//SNK:用這ajax去upldate FB_Post_id成null;
msg='FaceBook Error: '+'\n此筆的Facebook發文ID已不存在!已自動清除ID!';
}
}
alert( msg );
}
</script>
<div id="fb-root" class=" fb_reset"><div style="position: absolute; top: -10000px; width: 0px; height: 0px;"><div><iframe name="fb_xdm_frame_https" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" allow="encrypted-media" id="fb_xdm_frame_https" aria-hidden="true" title="Facebook Cross Domain Communication Frame" tabindex="-1" src="https://staticxx.facebook.com/connect/xd_arbiter/r/vy-MhgbfL4v.js?version=44#channel=f3893aabf542b6a&amp;origin=https%3A%2F%2Fhkgp.awt-system.com.tw" style="border: none;"></iframe></div><div></div></div></div><div style="visibility: hidden; position: absolute; width: 100%; top: -10000px; left: 0px; right: 0px; transition: visibility 0s linear 0.3s, opacity 0.3s linear; opacity: 0;"><div style="width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 2000000000; background-color: rgb(255, 255, 255); opacity: 0.5;"></div><div style="margin: 0px auto; top: 0px; left: 0px; right: 0px; position: absolute; border: 1px solid rgb(204, 204, 204); z-index: 2000000000; background-color: rgb(255, 255, 255); overflow: hidden;"><iframe title="recaptcha 驗證問題" src="https://www.google.com/recaptcha/api2/bframe?hl=zh-TW&amp;v=v1550471573786&amp;k=6LdBtXgUAAAAAEF_SbzGe9m-bN9ws-aWJyrSlIwd&amp;cb=ythcmd7s7wm1" name="c-75p54mrh3rix" frameborder="0" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" style="width: 100%; height: 100%;"></iframe></div></div></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment