Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="id" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
- <!--[if IE 7]> <html class="no-js ie7 oldie" lang="id" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
- <!--[if IE 8]> <html class="no-js ie8 oldie" lang="id" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js" lang="id" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> <!--<![endif]-->
- <head>
- <meta charset="utf-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
- <meta property="og:site_name" content="UrbanIndo" />
- <meta property="fb:app_id" content="228637897201147" />
- <meta property="og:email" content="[email protected]" />
- <meta property="og:title" content="UrbanIndo - Disewakan Ruko Jamika" />
- <meta property="og:type" content="property" />
- <meta property="og:image" content="http://localhost/roswell/images/properties/nopicture.jpeg" />
- <meta property="og:url" content="http://localhost/roswell/property/575233471/ruko-for-disewa-at-jamika-bandung-west-java" />
- <meta property="og:description" content="3 lantai, cocok untuk usaha: kantor, bank, toko, mini market, dll. Siap huni, strategis, daerah ramai. " />
- <style type="text/css">
- /*<![CDATA[*/
- #yw0 {
- height:380px;
- width:618px;
- }
- #yw0 > .image-slider-container{
- width: 618px;
- height: 412px;
- background:#444;
- text-align:center;
- overflow: hidden;
- }
- #yw0 > .image-slider-container > .nopicture {
- height:412px;
- width:618px;
- }
- #yw0 > .image-slider-list {
- margin:0px;
- /*background:#000000;*/
- float:left;
- width:618px;
- padding:0px;
- list-style-type:none;
- margin-top:10px;
- padding-top: 5px;
- border-top: 1px solid #DDD;
- }
- #yw0 > .image-slider-list > .image {
- float:left;
- margin:2px 5px 0px 0px
- }
- #yw0 > .image-slider-list > .image + .image {
- margin-left: 5px;
- }
- #yw0 > .image-slider-list > .image img {
- height:50px;
- opacity:0.4;
- filter:alpha(opacity=40);
- background:#ffffff;
- cursor:pointer;
- }
- #yw0 > .image-slider-list > .image img:hover,
- #yw0 > .image-slider-list > .image img.selected {
- opacity:1.0;
- filter:alpha(opacity=100);
- }
- #loading-wrapper {
- width:618px;
- height:412px;
- background:red;
- position:relative;
- }
- #loading-screen {
- position:absolute;
- width:100%;
- height:100%;
- z-index:2;
- color:#ffffff;
- background:rgba(100,100,100,0.5);
- }
- #loading-image {
- position:absolute;
- top:50%;
- margin-top:-50px;
- left:50%;
- margin-left:-50px;
- }
- #loading-text {
- font-family:verdana, sans-serif;
- text-align:center;
- font-size:80%;
- font-weight:bold;
- width:100px;
- height:10px;
- position:absolute;
- top:50%;
- left:50%;
- margin-left:-50px;
- margin-top:-5px;
- }
- /*]]>*/
- </style>
- <style type="text/css">
- /*<![CDATA[*/
- #yw4 .flag {
- display:block;
- width:100%;
- }
- /*]]>*/
- </style>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
- <script type="text/javascript" src="/roswell/assets/8c01fc5a/jquery.yiiactiveform.js"></script>
- <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
- <script type="text/javascript" src="http://www.google.com/jsapi"></script>
- <script type="text/javascript">
- /*<![CDATA[*/
- google.load("maps","3",{'other_params':'sensor=false'});
- var EGMap0 = null;
- /*]]>*/
- </script>
- <title>Disewakan Ruko Jamika</title>
- <meta name="robots" content="index, follow" />
- <meta name="title" content="UrbanIndo" />
- <meta name="description" content="
- UrbanIndo.com adalah situs properti terlengkap di Indonesia. Anda dapat memasang iklan jual rumah, sewa rumah, atau mencari iklan rumah dijual, rumah disewakan, tanah dijual dengan mudah" />
- <meta name="keywords" content="rumah dijual, iklan jual rumah, iklan rumah dijual, rumah disewa, rumah dikontrakkan, properti indonesia, real estate indonesia, apartemen dijual, apartemen disewa, ruko dijual, ruko disewa, tanah dijual, tanah dijual, rumah murah, perumahan murah, rumah minimalis, properti, property, ruang kantor disewa" />
- <meta name="author" content="Urban Indo"/>
- <meta name="language" content="id"/>
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
- <link rel="stylesheet" href="/roswell/css/grid.css"/>
- <link rel="stylesheet" href="/roswell/css/master.css"/>
- <link href="/roswell/favico.ico" rel="shortcut icon" type="image/x-icon" />
- <link rel="apple-touch-icon-precomposed" href="/roswell/images/ico_ios.png" />
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:600' rel='stylesheet' type='text/css'/>
- <!--[if IE 6]>
- <link href="css/ie6.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="js/DD_belatedPNG.js"></script>
- <script type="text/javascript">
- DD_belatedPNG.fix('img');
- DD_belatedPNG.fix('#pager a, ul.list-bottom li');
- DD_belatedPNG.fix('#footer-content, .dot-separator');
- DD_belatedPNG.fix('blockquote');
- </script>
- <![endif]-->
- <!--[if IE 7]>
- <style type="text/css">
- #pager{top:260px;}
- #slideshow ul, #slideshow li{margin:12px 0px 0px 6px;}
- #content .front-box-content{padding-bottom:45px;}
- </style>
- <![endif]-->
- <!--[if IE 8]>
- <style type="text/css">
- #pager{top:260px;}
- </style>
- <![endif]-->
- <!-- ////////////////////////////////// -->
- <!-- // Javascript Files // -->
- <!-- ////////////////////////////////// -->
- </head>
- <body>
- <div id="container">
- <div id="header">
- <div class="header-bg">
- <div class="header-top container_16">
- <div class="grid_16 relative" style="height:50px">
- <a href="/roswell/" title="">
- <div class="sprite logo-top"></div>
- </a>
- <ul class="menu-top" id="yw3">
- <li><a id="sale-main-menu" href="/roswell/sale">Dijual</a></li>
- <li><a id="rent-main-menu" href="/roswell/rent">Disewa</a></li>
- <li><a href="/roswell/how">Cara Kerja</a></li>
- <li class="highlight rounded_3"><a href="/roswell/submit">Daftarkan Properti Anda</a></li>
- </ul>
- </div>
- </div>
- </div>
- <div class="header-bottom clearfix container_16">
- <div class="grid_12 right">
- <div class="menu-welcome">
- <div class="menu-bottom clearfix">
- <ul class="menu-guest right">
- <li>
- <div id ="yw4" class="login-dd-container flag-dd-c">
- <a class="dark-link login-dd-init flag-dd-i">
- <span style="width: 16px; height:12px; background: url(/roswell/images/flag-id.png) no-repeat left center; display: inline-block;"></span>
- <span class="arrow-down"></span>
- </a>
- <div class="login-dd-content flag-dd-cc">
- <ul class="menu-dd-items flag-dd-items">
- <li><a language="en" class="flag" href="#"><img src="/roswell/images/flag-uk.png" alt="English" /></a></li>
- </ul>
- </div>
- </div> </li>
- <li><a href="/roswell/signup">Daftar</a></li>
- <li>
- <div class="login-dd-container login-dd-c">
- <a class="dark-link login-dd-init login-dd-i">
- Masuk
- <span class="arrow-down"></span>
- </a>
- <div class="login-dd-content login-dd-cc">
- <div class="fake-border-top"></div>
- <div class="inner">
- <form action="/roswell/login" method="post">
- <div style="display:none"><input type="hidden" value="4fc3420599b5e96c8fab5d899b7fd62c1bd01de1" name="YII_CSRF_TOKEN" /></div><p>
- <label for="LoginForm_username">Nama Pengguna</label> <input class="input" name="LoginForm[username]" id="LoginForm_username" type="text" /> </p>
- <p>
- <label for="LoginForm_password">Sandi</label> <input class="input" name="LoginForm[password]" id="LoginForm_password" type="password" /> </p>
- <div class="p clearfix">
- <div class="remember-forgot">
- <div>
- <input id="ytLoginForm_rememberMe" type="hidden" value="0" name="LoginForm[rememberMe]" /><input name="LoginForm[rememberMe]" id="LoginForm_rememberMe" value="1" type="checkbox" /> <label for="LoginForm_rememberMe">Ingat Saya</label> </div>
- <a href="/roswell/forgot">Lupa Sandi</a> </div>
- <input id="submit" class="login input-submit" type="submit" name="yt1" value="Masuk" /></div>
- </form><hr>
- <div id="fb-root"></div>
- <script src="//connect.facebook.net/en_US/all.js"></script>
- <script>
- FB.init({
- appId : '228637897201147',
- status : true, // check login status
- cookie : true, // enable cookies to allow the server to access the session
- xfbml : true, // parse XFBML
- oauth : true // enable OAuth 2.0
- });
- </script><fb:login-button scope="email" show-faces="false" width="200" max-rows="1">Login</fb:login-button> </div>
- </div>
- </div>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="content">
- <div class="container_16 clearfix">
- <div class="grid_16">
- <div class="nav-back">
- <a href="/roswell/rent?search=4ed3485dc7e09"><span class="rot-180">➙</span> Kembali ke pencarian</a> </div>
- <div class="listing-info-header grid_16 clearfix">
- <div class="left">
- <h1>
- Disewakan Ruko Jamika </h1>
- <p class="subtle">
- Ruko - Untuk Disewa di Jamika,
- Bojongloa Kaler, Bandung, Jawa Barat </p>
- </div>
- <div class="right">
- <p>Harga Penawaran</p>
- <h2>Rp. 70.000.000 / Tahun </h2>
- </div>
- </div>
- <div class="grid_16 listing-info-subheader">
- <ul>
- <li><strong>0</strong> kamar tidur</li>
- <li><strong>3</strong> kamar mandi</li>
- <li><strong>250</strong> m<sup>2</sup></li>
- <li><strong>100</strong> lot m<sup>2</sup></li>
- <!-- TODO: replace w/ dynamic content -->
- <li><strong>Tahunan</strong> sewa</li>
- <!-- Social Buttons to the right -->
- <li class="right" style="width:96px">
- <a class="twitter-share-button" href="http://twitter.com/share" data-count="horizontal" data-url="http://localhost/roswell/p/K6LRFZ">Tweet</a> </li>
- <li class="right">
- <div id="fb-root"></div>
- <script src="//connect.facebook.net/en_US/all.js"></script>
- <script>
- FB.init({
- appId : '228637897201147',
- status : true, // check login status
- cookie : true, // enable cookies to allow the server to access the session
- xfbml : true, // parse XFBML
- oauth : true // enable OAuth 2.0
- });
- </script><div><fb:like send="" show_faces="1" layout="button_count" action="like" width="100px"></fb:like></div> </li>
- </ul>
- </div>
- <!-- images -->
- <div class="grid_11">
- <div class="listing-info-box rounded_4 clearfix">
- <div id="yw0" class="clearfix">
- <div class="image-slider-container clearfix">
- <img class="mainimage nopicture" src="http://localhost/roswell/images/properties/nopicture.jpeg" alt="" /> <div class="image-slider-caption">Gambar tidak tersedia</div>
- <div class="soldrented-status">
- <img class="soldrented-status-image" src="/roswell/assets/9129ede5/images/rented-id.png" alt="" /> </div>
- </div>
- <ul class="image-slider-list">
- </ul>
- </div> </div>
- <div class="listing-more-info">
- <div class="listing-info-box rounded_4 clearfix">
- <div class="listing-desc-header clearfix">
- <div class="left strong">Deskripsi</div>
- <div class="right property-shortid"><strong>ID Properti:</strong> <a href="http://localhost/roswell/p/K6LRFZ">K6LRFZ</a></div>
- </div>
- <p>3 lantai, cocok untuk usaha: kantor, bank, toko, mini market, dll. Siap huni, strategis, daerah ramai. </p>
- <div class="clearfix mt-20">
- <div class="left half">
- <div class="listing-desc-header strong">
- Detail Properti </div>
- <div class="listing-desc-content">
- <p>
- <span><label for="Property_bedrooms">Kamar Tidur</label></span>
- <span>0</span>
- </p>
- <p>
- <span><label for="Property_bathrooms">Kamar Mandi</label></span>
- <span>3</span>
- </p>
- <p>
- <span><label for="Property_buildingSize">Luas Bangunan</label></span>
- <span>250 m<sup>2</sup></span>
- </p>
- <p>
- <span><label for="Property_landSize">Luas Tanah</label></span>
- <span>100 m<sup>2</sup></span>
- </p>
- </div>
- </div>
- <div class="right half">
- <div class="listing-desc-header strong">
- <label for="Property_amenities">Fasilitas</label> </div>
- <div class="listing-desc-content">
- <p>
- <span><label for="Property_garages">Garasi</label></span>
- <span>0 mobil</span>
- </p>
- <p>
- <span><label for="Property_carports">Carports</label></span>
- <span>0 mobil </span>
- </p>
- <p>
- <span><label for="Property_maidBedrooms">Kamar Tidur Pembantu</label></span>
- <span>0 orang</span>
- </p>
- <p>
- <span class="single"><label for="Property_maidBathrooms">Kamar Mandi Pembantu</label></span>
- <span>0 orang</span>
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Comment -->
- <!-- property comment -->
- <!-- TODO: Fix CSS -->
- <div class="listing-info-box rounded_4 clearfix">
- <div class="listing-desc-header">
- <h2>Komentar</h2>
- </div>
- <p>
- Anda harus <a href="/roswell/login">masuk</a> untuk menulis komentar.
- </p>
- <div id="yw1_progress" class="hidden">
- Loading
- <img src="/roswell/assets/f95e12a0/load.gif" alt="" /> </div>
- <a name="comments"> </a>
- <div id="yw1_container" class="comments-container clearfix">
- </div>
- </div> </div>
- <!-- container for maps + user info -->
- <div class="grid_5 nomargin clearfix">
- <div class="grid_5 full-width">
- <div class="listing-info-box rounded_4">
- <div id="EGMapContainer1" style="width:258px;height:258px;"></div> </div>
- <div class="listing-info-box listing-submitter clearfix rounded_4">
- <div class="left mr-10">
- <img src="/roswell/images/profiles/noprofile80.png" alt="" /> </div>
- <div class="left user-info">
- <div class="name"><a target="_blank" href="http://localhost/roswell/Wilyanti">Wilyanti </a> <!-- TODO: Fix the display -->
- </div>
- <p class="strong"><!-- TODO: replace w/ dynamic content --></p>
- <p>+62-022-76875856</p> <p>Paskal Hyper Square Blok A45 Bandung</p>
- <p><a target="_blank" rel="nofollow" href="http://www.urbanindo.com/wilyanti">http://www.urbanindo.com/wilyanti</a></p>
- <div id ="yw2_dialog"class="mailbutton-overlay">
- <div class="mailbutton-overlay-wrapper">
- <div class="mailbutton-overlay-header">
- <div class="mailbutton-overlay-title">
- Kirim Email ke Agen </div>
- <div class="mailbutton-overlay-close">
- <img src="/roswell/assets/96076ca0/images/close-button.png" alt="" /> </div>
- </div>
- <div class="mailbutton-overlay-content">
- <div>
- <form id="yw2_form" action="http://localhost/roswell/ajax/mailbutton.submit" method="post">
- <div style="display:none"><input type="hidden" value="4fc3420599b5e96c8fab5d899b7fd62c1bd01de1" name="YII_CSRF_TOKEN" /></div>
- <input id="yw2_form_userId" name="MailButtonForm[userId]" type="hidden" /> <input id="yw2_form_propertyId" name="MailButtonForm[propertyId]" type="hidden" />
- <p>
- <label for="MailButtonForm_message" class="required">Pesan <span class="required">*</span></label> <br/>
- <textarea class="yw2_reset" name="MailButtonForm[message]" id="MailButtonForm_message"></textarea> <div class="errorMessage" id="MailButtonForm_message_em_" style="display:none"></div> </p>
- <p>
- <label for="MailButtonForm_senderName" class="required">Nama Anda <span class="required">*</span></label> <input class="yw2_reset" name="MailButtonForm[senderName]" id="MailButtonForm_senderName" type="text" /> <div class="errorMessage" id="MailButtonForm_senderName_em_" style="display:none"></div> </p>
- <p>
- <label for="MailButtonForm_senderEmail" class="required">Email Anda <span class="required">*</span></label> <input class="yw2_reset" name="MailButtonForm[senderEmail]" id="MailButtonForm_senderEmail" type="text" /> <div class="errorMessage" id="MailButtonForm_senderEmail_em_" style="display:none"></div> </p>
- <p>
- <label for="MailButtonForm_verifyCode">Kode Verifikasi</label> <img id="yw2_captcha" src="/roswell/ajax/mailbutton.captcha/v/4ed34956f2392" alt="" /> <input name="MailButtonForm[verifyCode]" id="MailButtonForm_verifyCode" type="text" /> </p>
- <br/>
- <p>
- <input type="submit" name="yt0" value="Kirim" /> </p>
- </form> <div id="yw2_success">
- Email successfully sent
- <a id="yw2_close" href="#">close</a> </div>
- </div>
- </div>
- </div>
- </div><a id="yw2_link" userId="34192624" propertyId="575233471" href="#"><img src="/roswell/assets/96076ca0/images/mail_24x24.png" alt="Click to send mail" /></a> </div>
- </div>
- <!--
- <div class="listing-info-box clearfix rounded_4">
- <div class="strong">Lokasi Sekitar</div>
- </div>
- -->
- </div>
- </div>
- </div>
- <!-- guest overlay -->
- </div><!-- end div#left -->
- </div>
- <div class="foot_push"></div>
- </div>
- <div id="footer">
- <div id="footer-menu" class="clearfix">
- <ul class="menu-footer" id="yw6">
- <li><a href="/roswell/about">Perihal</a></li>
- <li><a href="/roswell/terms">Ketentuan</a></li>
- <li><a href="/roswell/press">Liputan</a></li>
- <li><a href="/roswell/contact">Kontak Kami</a></li>
- <li><a href="/roswell/career">Karir</a></li>
- </ul> </div>
- </div>
- <div class="feedback-overlay">
- <div class="feedback-content clearfix" style="display:none">
- <h3>Kotak Saran <span class="feedback-close">✘</span>
- </h3>
- <form id="yw7_form" action="http://localhost/roswell/ajax/feedback.submit" method="post">
- <div style="display:none"><input type="hidden" value="4fc3420599b5e96c8fab5d899b7fd62c1bd01de1" name="YII_CSRF_TOKEN" /></div>
- <p>
- <label for="DevFeedback_fullName" class="required">Nama Lengkap <span class="required">*</span></label> <input name="DevFeedback[fullName]" id="DevFeedback_fullName" type="text" /> <div class="errorMessage" id="DevFeedback_fullName_em_" style="display:none"></div> </p>
- <p>
- <label for="DevFeedback_email" class="required">Email <span class="required">*</span></label> <input name="DevFeedback[email]" id="DevFeedback_email" type="text" /> <div class="errorMessage" id="DevFeedback_email_em_" style="display:none"></div> </p>
- <p>
- <label for="DevFeedback_content" class="required">Pesan <span class="required">*</span></label> <textarea name="DevFeedback[content]" id="DevFeedback_content"></textarea> <div class="errorMessage" id="DevFeedback_content_em_" style="display:none"></div></p>
- <input name="DevFeedback[url]" id="DevFeedback_url" type="hidden" value="/roswell/property/575233471/ruko-for-rent-at-jamika-bandung-west-java?s=4ed3485dc7e09&t=rent" /><p>
- <input type="submit" name="yt2" value="Kirim" /></p>
- </form>
- <div id="yw7_closediv" class="hidden">
- Your message has been submitted. Thank you</div> </div>
- </div>
- <script type="text/javascript">
- (function(fbOverlay, fbClose) {
- var active = false;
- fbOverlay.click(function() {
- if (!active) {
- fbOverlay.addClass('active');
- active = true;
- }
- });
- fbClose.live('click', function() {
- if (active) {
- fbOverlay.removeClass('active');
- active = false;
- }
- });
- })($('.feedback-overlay'), $('.feedback-close'));
- </script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-26220079-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- <!--[if lt IE 7 ]>
- <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
- <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
- <![endif]-->
- <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- <script type="text/javascript">
- /*<![CDATA[*/
- FB.Event.subscribe('auth.login', function(response) {
- if (response.status == 'connected') {
- accessToken = response.authResponse.accessToken;
- window.location = 'http://localhost/roswell/login/facebook?accessToken=' + accessToken;
- }
- });
- jQuery(function($) {
- jQuery(document).ready(function(){
- jQuery('#yw0').ubPropertyImageSlider();
- jQuery('img.mainimage').load(function() {
- $('div#loading-screen').fadeOut('1000');
- });
- });
- //TODO: Minify this. Refactor the constants.
- (function( $ ){
- var methods = {
- init : function( options ) {
- var main = this;
- function fixRatio(mainImage){
- realwidth = mainImage.attr('realwidth');
- realheight = mainImage.attr('realheight');
- ratio = realwidth / realheight;
- mainImage.css('height', '');
- mainImage.css('width', '');
- mainImage.css('margin-top', '');
- if (ratio < 1.59 && ratio > 1.49){
- mainImage.css('width', 618);
- } else if (ratio >= 1.59 ){
- newheight = 618 / realwidth * realheight;
- margin = (412 - newheight) / 2;
- mainImage.css('width', 618);
- mainImage.css('margin-top', margin);
- } else if (ratio <= 1.49){
- mainImage.css('height', 412);
- }
- }
- jQuery(document).ready(function(){
- var mainImage = jQuery('.image-slider-container > .mainimage', main);
- fixRatio(mainImage);
- });
- jQuery('.image-slider-list > .image > img', main).click(function(){
- jQuery('#loading-screen').show();
- jQuery('.image-slider-list > .image img', main).removeClass('selected');
- jQuery(this).addClass('selected');
- var mainImage = jQuery('.image-slider-container > .mainimage', main);
- mainImage.attr('src', jQuery(this).attr('mainsrc'));
- mainImage.attr('realwidth', jQuery(this).attr('realwidth'));
- mainImage.attr('realheight', jQuery(this).attr('realheight'));
- fixRatio(mainImage);
- var mainCaption = jQuery('.image-slider-container > .image-slider-caption', main);
- mainCaption.removeClass('hidden');
- var caption = jQuery(this).next().html();
- if (jQuery.trim(caption).length == 0){
- mainCaption.addClass('hidden');
- } else {
- mainCaption.html(caption);
- }
- });
- },
- };
- $.fn.ubPropertyImageSlider = function(method) {
- if ( methods[method] ) {
- return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.ubPropertyImageSlider' );
- }
- };
- })( jQuery );
- loadComments = function(pageNumber){
- jQuery.ajax({
- url: 'http://localhost/roswell/property/comments.load',
- data: 'pid=575233471&page=' + pageNumber,
- dataType: 'html',
- beforeSend: function(){
- jQuery('#yw1_progress').removeClass('hidden');
- jQuery('#yw1_container').addClass('hidden');
- },
- success: function(data){
- jQuery('#yw1_container').html(data);
- },
- complete: function(){
- jQuery('#yw1_progress').addClass('hidden');
- jQuery('#yw1_container').removeClass('hidden');
- jQuery('.comments-pager > ul > li > a').click(function(){
- pageNumber = jQuery(this).attr('page');
- loadComments(pageNumber);
- });
- },
- });
- }
- jQuery(document).ready(function(){
- loadComments(0);
- });
- (function( $ ){
- var methods = {
- open : function( options ) {
- this.fadeIn();
- var dialog = this;
- $('.mailbutton-overlay-close', dialog).click(function(){
- dialog.fadeOut();
- });
- },
- close : function( options ) {
- this.fadeOut();
- }
- };
- $.fn.ubMailDialog = function(method) {
- if ( methods[method] ) {
- return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
- } else if ( typeof method === 'object' || ! method ) {
- return methods.init.apply( this, arguments );
- } else {
- $.error( 'Method ' + method + ' does not exist on jQuery.ubMailDialog ' );
- }
- };
- })( jQuery );
- jQuery('#yw2_link').click(function(){
- jQuery('.yw2_reset').val('');
- jQuery('#yw2_form').removeClass('hidden');
- jQuery('#yw2_success').addClass('hidden');
- jQuery('#yw2_form_userId').val(jQuery(this).attr('userId'));
- jQuery('#yw2_form_propertyId').val(jQuery(this).attr('propertyId'));
- jQuery('#yw2_dialog').ubMailDialog ('open');
- return false;
- });
- jQuery('#yw2_close').click(function(){
- jQuery('#yw2_dialog').ubMailDialog ('close');
- return false;
- });
- jQuery('#yw2_captcha').after("<a id=\"yw2_captcha_button\" href=\"\/roswell\/ajax\/mailbutton.captcha\/refresh\/1\">Ambil kode baru<\/a>");
- jQuery('#yw2_captcha_button').live('click',function(){
- jQuery.ajax({
- url: "\/roswell\/ajax\/mailbutton.captcha\/refresh\/1",
- dataType: 'json',
- cache: false,
- success: function(data) {
- jQuery('#yw2_captcha').attr('src', data['url']);
- jQuery('body').data('ajax/mailbutton.captcha.hash', [data['hash1'], data['hash2']]);
- }
- });
- return false;
- });
- $('#yw2_form').yiiactiveform({'validateOnChange':false,'validateOnSubmit':true,'afterValidate':function(form, data, hasError){
- if (data.success == true){
- jQuery('#yw2_form').addClass('hidden');
- jQuery('#yw2_success').removeClass('hidden');
- }
- jQuery('#yw2_captcha_button').click();
- return false;
- },'attributes':[{'id':'MailButtonForm_message','inputID':'MailButtonForm_message','errorID':'MailButtonForm_message_em_','model':'MailButtonForm','name':'MailButtonForm[message]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)=='') {
- messages.push("Pesan tidak boleh kosong.");
- }
- }},{'id':'MailButtonForm_senderName','inputID':'MailButtonForm_senderName','errorID':'MailButtonForm_senderName_em_','model':'MailButtonForm','name':'MailButtonForm[senderName]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)=='') {
- messages.push("Nama Anda tidak boleh kosong.");
- }
- }},{'id':'MailButtonForm_senderEmail','inputID':'MailButtonForm_senderEmail','errorID':'MailButtonForm_senderEmail_em_','model':'MailButtonForm','name':'MailButtonForm[senderEmail]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)=='') {
- messages.push("Email Anda tidak boleh kosong.");
- }
- if($.trim(value)!='' && !value.match(/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/)) {
- messages.push("Email Anda bukan alamat email yang valid.");
- }
- }}],'focus':'#MailButtonForm_message'});
- jQuery(document).ready(function() {
- (function(menuLink, menuContainer) {
- jQuery('.flag-dd-cc').width(menuContainer.outerWidth());
- var mouseOverMenu = false;
- menuLink.click(function(e) {
- e.preventDefault();
- menuContainer.toggleClass('active');
- });
- menuContainer.mouseenter(function() {
- mouseOverMenu = true;
- })
- menuContainer.mouseleave(function() {
- mouseOverMenu = false;
- setTimeout(function() {
- if (!mouseOverMenu) {
- menuContainer.removeClass('active');
- }
- }, 1000);
- });
- })(jQuery('.flag-dd-i'), jQuery('.flag-dd-c'));
- jQuery('#yw4 .flag').click(function(){
- var language = $(this).attr('language');
- jQuery.ajax({
- type: 'POST',
- url: 'http://localhost/roswell/ajax/languagechooser.change',
- data: {
- YII_CSRF_TOKEN:'4fc3420599b5e96c8fab5d899b7fd62c1bd01de1',
- language : language
- },
- success: function (){
- location.reload();
- },
- });
- });
- });
- $(document).ready(function() {
- $('.login-dd-c .fake-border-top').css('right', $('.login-dd-i').outerWidth(true));
- (function(menuLink, menuContainer) {
- var isMenuShown = false;
- menuLink.click(function(e) {
- e.preventDefault();
- menuContainer.toggleClass('active');
- });
- menuContainer.mouseenter(function() {
- isMenuShown = true;
- })
- $('#content, .header-bg').click(function() {
- if (isMenuShown) {
- menuContainer.removeClass('active');
- isMenuShown = false;
- }
- })
- })($('.login-dd-i'), $('.login-dd-c'));
- });
- jQuery('#feedback-link').click(function(){
- jQuery('#yw7_dialog').removeClass('hidden');
- jQuery('#yw7_form input[type=text]').val('');
- jQuery('#yw7_form textarea').val('');
- jQuery('#yw7_form').removeClass('hidden');
- jQuery('#yw7_closediv').addClass('hidden');
- jQuery('#yw7_dialog').dialog('open');
- return false;
- });
- jQuery('#yw7_closelink').click(function(){
- jQuery('#yw7_dialog').dialog('close');
- return false;
- });
- $('#yw7_form').yiiactiveform({'validateOnChange':false,'validateOnSubmit':true,'afterValidate':function(form, data, hasError){
- if (!hasError){
- jQuery('#yw7_form').addClass('hidden');
- jQuery('#yw7_closediv').removeClass('hidden');
- }
- return false;
- },'attributes':[{'id':'DevFeedback_fullName','inputID':'DevFeedback_fullName','errorID':'DevFeedback_fullName_em_','model':'DevFeedback','name':'DevFeedback[fullName]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)=='') {
- messages.push("Nama Lengkap tidak boleh kosong.");
- }
- }},{'id':'DevFeedback_email','inputID':'DevFeedback_email','errorID':'DevFeedback_email_em_','model':'DevFeedback','name':'DevFeedback[email]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)!='' && !value.match(/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/)) {
- messages.push("Email bukan alamat email yang valid.");
- }
- if($.trim(value)=='') {
- messages.push("Email tidak boleh kosong.");
- }
- }},{'id':'DevFeedback_content','inputID':'DevFeedback_content','errorID':'DevFeedback_content_em_','model':'DevFeedback','name':'DevFeedback[content]','enableAjaxValidation':true,'clientValidation':function(value, messages, attribute) {
- if($.trim(value)=='') {
- messages.push("Pesan tidak boleh kosong.");
- }
- if($.trim(value)!='') {
- if(value.length<15) {
- messages.push("Your message is too short, minimum 15 characters.");
- }
- if(value.length>500) {
- messages.push("Your message is too long, maximum 500 characters.");
- }
- }
- }}],'focus':'#DevFeedback_firstName'});
- });
- jQuery(window).load(function() {
- function EGMapContainer1_init(){
- var mapOptions = {scrollwheel:false,
- center:new google.maps.LatLng(-6.920522732636, 107.58637504066),
- zoom:13,
- mapTypeId:google.maps.MapTypeId.ROADMAP};
- locationMap = new google.maps.Map(document.getElementById("EGMapContainer1"), mapOptions);
- locationMarker = new google.maps.Marker({map:locationMap,
- position:new google.maps.LatLng(-6.920522732636, 107.58637504066),
- draggable:false});
- }
- EGMapContainer1_init();
- });
- /*]]>*/
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement