Selasa, 12 November 2013

Yuk! Belajar Konsep Pemrograman Di Mesran.Blogspot.Com


Tugas Belajar Bahasa Pemograman

Pada tutorial kali ini, kita bahas bersama contoh program visual basic. Langkah-langkah nya sbb:
1. Buka Microsoft Visual Studio
2. Buka New>>Project
3. Beri nama project anda pada name, kemudian klik ok
4. Setelah itu maka akan keluar From1 di project kita, kemudian desain From tersebut dengan menggunakan Label, Textbox, Combobox, dan Botton yang dapat kata pilih pada proporties.


5.Listing Program dibawah ini:
 Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        npm.Items.Add("12110649")
        npm.Items.Add("12110504")

        kodedosen.Items.Add("001")
        kodedosen.Items.Add("002")

        kmatakuliah.Items.Add("111")
        kmatakuliah.Items.Add("222")



        Dim i As Integer
        For i = 100 To 1 Step -1
            nk.Items.Add(i)
            nt.Items.Add(i)
            nuts.Items.Add(i)
            nuas.Items.Add(i)
        Next
    End Sub



    Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles npm.SelectedIndexChanged
        Select Case npm.text
            Case Is = "12110649"
                nama.Text = "M.Triadi Syahputra"
                Jenjang.Text = "S1"
                jurusan.Text = "Teknik Informatika"

            Case Is = "12110504"
                nama.Text = "Shandora Siregar"
                Jenjang.Text = "s1"
                jurusan.Text = "Teknik Informatika"

        End Select
    End Sub

    Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kodedosen.SelectedIndexChanged
        Select Case kodedosen.Text
            Case Is = "001"
                nd.Text = "Kenedi Tampubolon S.Si"
            Case Is = "002"
                nd.Text = " Sinar Sinurat S.T, M.kom"
        End Select
    End Sub

    Private Sub kmatakuliah_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kmatakuliah.SelectedIndexChanged
        Select Case kmatakuliah.Text
            Case Is = "111"
                matakuliah.Text = " Matriks  Dan LInier"
            Case Is = "222"
                matakuliah.Text = "Matematika diskrit"
        End Select
    End Sub

    Private Sub btnproses_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnproses.Click
        nak.Text = 0.1 * nk.Text + 0.15 * nt.Text + 0.3 * nuts.Text + 0.45 * nuas.Text

        If nak.Text >= 80 Then
            nhu.Text = "A"
            ket.Text = "Lulus"
        ElseIf nak.Text >= 70 Then
            nhu.Text = "B"
            ket.Text = " Lulus"
        ElseIf nak.Text >= 60 Then
            nhu.Text = "C"
            ket.Text = "Lulus"
        ElseIf nak.Text >= 50 Then
            nhu.Text = "D"
            ket.Text = "Tidak Lulus"
        Else
            nhu.Text = "E"
            ket.Text = "Tidak Lulus"
        End If
    End Sub

    Private Sub nama_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nama.TextChanged

    End Sub
End Class


Selamat mencoba yaa Teman-teman.....


Senin, 11 November 2013

Cara membuat web dengan php

Selamat apa aja dan semoga sukses orang yang membuka blog ini.Jangan lupa ajak yang lain buka web ini ya kawan…………….
Ok langsung saja……,,,,,,,,,Disini kita akan belajar membuat web dengan menggunakan php,,untuk memulai,langkah yang harus dilakukan adalah:
  1. Download software xammp versi apa aja.
  2. Install aplikasi xammp tersebut pada pc atau laptop anda,jika sudah diinstal lakukan langkah berikutnya,
  3. Buka aplikasi notepad yang ada pada komputer kamu dengan cara klik start-all program-accessories-notepad.(lebih mudah pakai notepad++ tapi harus install sendiri,kalau notepad sudah bawaan komputer standart)
  4. setelah itu kita cari script,saya akan memberi script yang nantinya kita akan coba,copy script no.5 lalu paste di notepad;
  5. <!DOCTYPE html> <html lang=”en“> <head> <meta charset=”UTF-8” /> <meta name=”viewport” content=”width=device-width” /> <title>buatwebphp | 4 out of 5 dentists recommend this WordPress.com site</title> <link rel=”profile” href=”http://gmpg.org/xfn/11” /> <link rel=”pingback” href=”http://buatwebphp.wordpress.com/xmlrpc.php” /> <!–[if lt IE 9]> <script src=”http://s1.wp.com/wp-content/themes/pub/chalkboard/js/html5.js?m=1360606670g&#8221; type=”text/javascript”></script> <![endif]–> <link rel=”alternate” type=”application/rss+xml” title=”buatwebphp &raquo; Feed” href=”http://buatwebphp.wordpress.com/feed/” /> <link rel=”alternate” type=”application/rss+xml” title=”buatwebphp &raquo; Comments Feed” href=”http://buatwebphp.wordpress.com/comments/feed/” /> <script type=”text/javascript“> /* <![CDATA[ */ function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){oldonload();func();}}} /* ]]> */ </script> <link rel=’stylesheet‘ id=’all-css-0‘ href=’http://s0.wp.com/_static/??-eJx9UNsOwiAM/SGRTN0SH4zfMhhKN6CEFqd/LzMRH0x46ml7zulFggzIoDFQBXtNtJNrFBC0y5MhWQpynDwEoca0L7FSCp9NYOmziC7fodhQVqQTRIbN9IbO4driW3yYJFRWypVRxC9n/jeYSbIFvSh8VtAydbBsKsNx1Iv4ZM2dLSbW+L2VHBRocRW10VLX15S+Ri9+ryqiq790x6E7HfqhP89veFqJtA==‘ type=’text/css‘ media=’all‘ /> <link rel=’stylesheet‘ id=’demosites-open-sans-css‘ href=’http://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic&subset=latin,latin-ext‘ type=’text/css‘ media=’all‘ /> <link rel=’stylesheet‘ id=’all-css-2‘ href=’http://s2.wp.com/_static/??/wp-content/mu-plugins/post-flair/style.css,/wp-content/themes/pub/chalkboard/style.css?m=1361286635j‘ type=’text/css‘ media=’all‘ /> <link rel=’stylesheet‘ id=’chalkboard-gloria-css‘ href=’http://fonts.googleapis.com/css?family=Gloria+Hallelujah&ver=3.6-alpha-23334‘ type=’text/css‘ media=’all‘ /> <link rel=’stylesheet‘ id=’chalkboard-roboto-css‘ href=’http://fonts.googleapis.com/css?family=Roboto:400italic,700italic,400,700&subset=latin,latin-ext‘ type=’text/css‘ media=’all‘ /> <link rel=’stylesheet‘ id=’all-css-6‘ href=’http://s2.wp.com/_static/??-eJxtjEEOgyAQAD/kujFYw6XpWxZLgQYWwq7x+9qDp3qay8zg3mCtrJ4VywYtbyGxIFf1gvQuicFRh+5Fx1VkwHu/VVH4ZEodJVJPHC7+VRp9Od9xxpCro/wTXuU5mYc1djZm+R4seTW6‘ type=’text/css‘ media=’all‘ /> <script type=’text/javascript‘ src=’http://s2.wp.com/_static/??-eJxtjdEKwjAMRX/I2ZYx38Rv0RpHSpvEpXHs7+3ABzcGgZCbkxM3S4cUsz1BXWr1NpiWXzsnPbkdoIJ0lG8P/6nIVIGqK9ZJthGpSeyhcUKpyG16cc487/HmFNZaQPU+wsF2+xHpg7BKbuUa+osPPvR+SF8xxVM4‘></script> <link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://buatwebphp.wordpress.com/xmlrpc.php?rsd” /> <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://buatwebphp.wordpress.com/wp-includes/wlwmanifest.xml” /> <meta name=”generator” content=”WordPress.com” /> <link rel=’shortlink‘ href=’http://wp.me/3cVgi‘ /> <!– Jetpack Open Graph Tags –> <meta property=”og:type” content=”blog” /> <meta property=”og:title” content=”buatwebphp” /> <meta property=”og:description” content=”4 out of 5 dentists recommend this WordPress.com site” /> <meta property=”og:url” content=”http://buatwebphp.wordpress.com/” /> <meta property=”og:site_name” content=”buatwebphp” /> <meta name=”twitter:site” content=”@wordpressdotcom” /> <meta property=”fb:app_id” content=”249643311490” /> <link rel=”shortcut icon” type=”image/x-icon” href=”http://s2.wp.com/i/favicon.ico?m=1311976023g” sizes=”16×16 24×24 32×32 48×48” /> <link rel=”icon” type=”image/x-icon” href=”http://s2.wp.com/i/favicon.ico?m=1311976023g” sizes=”16×16 24×24 32×32 48×48” /> <link rel=”apple-touch-icon-precomposed” href=”http://s0.wp.com/i/webclip.png?m=1355642671g” /> <link rel=’openid.server‘ href=’http://buatwebphp.wordpress.com/?openidserver=1‘ /> <link rel=’openid.delegate‘ href=’http://buatwebphp.wordpress.com/‘ /> <link rel=”search” type=”application/opensearchdescription+xml” href=”http://buatwebphp.wordpress.com/osd.xml” title=”buatwebphp” /> <link rel=”search” type=”application/opensearchdescription+xml” href=”http://wordpress.com/opensearch.xml” title=”WordPress.com” /> <style> /* <![CDATA[ */ /* Block: reblog */ .reblog-from img { margin: 0 10px 0 0; vertical-align: middle; padding: 0; border: 0; } .reblogger-note img.avatar { float: left; padding: 0; border: 0; } .reblogger-note-content { margin: 0 0 20px; } .reblog-post .wpcom-enhanced-excerpt-content { border-left: 3px solid #eee; padding-left: 15px; } .reblog-post ul.thumb-list { display: block; list-style: none; margin: 2px 0; padding: 0; clear: both; } .reblog-post ul.thumb-list li { display: inline; margin: 0; padding: 0 1px; border: 0; } .reblog-post ul.thumb-list li a { margin: 0; padding: 0; border: 0; } .reblog-post ul.thumb-list li img { margin: 0; padding: 0; border: 0; } .reblog-post .wpcom-enhanced-excerpt { clear: both; } .reblog-post .wpcom-enhanced-excerpt address, .reblog-post .wpcom-enhanced-excerpt li, .reblog-post .wpcom-enhanced-excerpt h1, .reblog-post .wpcom-enhanced-excerpt h2, .reblog-post .wpcom-enhanced-excerpt h3, .reblog-post .wpcom-enhanced-excerpt h4, .reblog-post .wpcom-enhanced-excerpt h5, .reblog-post .wpcom-enhanced-excerpt h6, .reblog-post .wpcom-enhanced-excerpt p { font-size: 100% !important; } .reblog-post .wpcom-enhanced-excerpt blockquote, .reblog-post .wpcom-enhanced-excerpt pre, .reblog-post .wpcom-enhanced-excerpt code, .reblog-post .wpcom-enhanced-excerpt q { font-size: 98% !important; } /* ]]> */ </style> <style type=”text/css” media=”print“>#wpadminbar { display:none; }</style> <style type=”text/css” media=”screen“> html { margin-top: 28px !important; } * html body { margin-top: 28px !important; } </style> <meta name=”application-name” content=”buatwebphp” /><meta name=”msapplication-window” content=”width=device-width;height=device-height” /><meta name=”msapplication-tooltip” content=”4 out of 5 dentists recommend this WordPress.com site” /><meta name=”msapplication-task” content=”name=Write a post;action-uri=http://buatwebphp.wordpress.com/wp-admin/post-new.php;icon-uri=http://s2.wp.com/i/icons/post.ico” /><meta name=”msapplication-task” content=”name=Moderate comments;action-uri=http://buatwebphp.wordpress.com/wp-admin/edit-comments.php?comment_status=moderated;icon-uri=http://s0.wp.com/i/icons/comment.ico” /><meta name=”msapplication-task” content=”name=Upload new media;action-uri=http://buatwebphp.wordpress.com/wp-admin/media-new.php;icon-uri=http://s2.wp.com/i/icons/media.ico” /><meta name=”msapplication-task” content=”name=Blog stats;action-uri=http://buatwebphp.wordpress.com/wp-admin/index.php?page=stats;icon-uri=http://s1.wp.com/i/icons/stats.ico” /><meta name=”title” content=”buatwebphp on WordPress.com” /> <meta name=”description” content=”4 out of 5 dentists recommend this WordPress.com site” /> <style type=”text/css” id=”custom-background-css“> body.custom-background { background-color: #f1eedc; background-image: url(‘http://buatwebphp.wordpress.com/wp-content/themes/pub/chalkboard/images/walltexture.png?m=1360823028g&#8217;); background-repeat: repeat; background-position: top left; background-attachment: fixed; } </style> </head> <body class=”home blog logged-in admin-bar no-customize-support custom-background sidebar-active highlander-enabled highlander-dark“> <div class=”wrapper“> <div id=”page” class=”hfeed site“> <header id=”masthead” class=”site-header” role=”banner“> <hgroup> <h1 class=”site-title“><a href=”http://buatwebphp.wordpress.com/” title=”buatwebphp” rel=”home“>buatwebphp</a></h1> <h2 class=”site-description“>4 out of 5 dentists recommend this WordPress.com site</h2> </hgroup> <nav role=”navigation” class=”site-navigation main-navigation“> <h1 class=”assistive-text“>Menu</h1> <div class=”assistive-text skip-link“><a href=”#content” title=”Skip to content“>Skip to content</a></div> <div class=”menu“><ul><li class=”current_page_item“><a href=”http://buatwebphp.wordpress.com/” title=”Home“>Home</a></li><li class=”page_item page-item-1“><a href=”http://buatwebphp.wordpress.com/about/“>About</a></li></ul></div> </nav><!– .site-navigation .main-navigation –> </header><!– #masthead .site-header –> <div id=”main” class=”site-main“> <div id=”primary” class=”content-area“> <div id=”content” class=”site-content” role=”main“> <article id=”post-4” class=”post-4 post type-post status-publish format-standard hentry category-uncategorized“> <header class=”entry-header“> <h1 class=”entry-title“><a href=”http://buatwebphp.wordpress.com/2013/02/22/cara-membuat-web-dengan-php/” title=”Permalink to Cara membuat web dengan&nbsp;php” rel=”bookmark“>Cara membuat web dengan&nbsp;php</a></h1> </header><!– .entry-header –> <div class=”entry-content“> <p>Selamat apa aja dan semoga sukses orang yang membuka blog ini.Jangan lupa ajak yang lain buka web ini ya kawan…………….</p> <p>Ok langsung saja……,,,,,,,,,Disini kita akan belajar membuat web dengan menggunakan php,,untuk memulai,langkah yang harus dilakukan adalah:</p> <ol> <li>Download software xammp versi apa aja.</li> <li>Install aplikasi xammp tersebut pada pc atau laptop anda,jika sudah diinstal lakukan langkah berikutnya,</li> <li>Buka aplikasi notepad yang ada pada komputer kamu dengan cara klik start-all program-accessories-notepad.(lebih mudah pakai notepad++ tapi harus install sendiri,kalau notepad sudah bawaan komputer standart)</li> <li style=”text-align:left;“>setelah itu kita cari script,saya akan memberi script yang nantinya kita akan coba,copy script no.5 lalu paste di notepad;</li> <li style=”text-align:left;“>(sabar ya,,update kapan-kapan)</li> <li style=”text-align:left;“>Setelah kamu paste di notepad, save dengan nama terserah kamu yang penting ada .php setelahnya(misal bima.php).sebelum menyimpan pastikan save as type yang ada di menu simpan diganti all type.untuk penyimpanan tempatkan disini C-xammp-htdocs.</li> <li style=”text-align:left;“>setelah itu buka web browser:mozilla firefox,operamini/dll.buka aja mozila.</li> <li style=”text-align:left;“>Setelah mozilla dibuka panggil web kamu dengan cara ketik localhost/bima.php di alamat mozilla.(tidak dalam keadaan koneck internet).maka web anda akan muncul.</li> <li style=”text-align:left;“>Selanjutnya beli domain untuk memasang web anda ke internet.</li> </ol> <p>Jika memerlukan script lain silahkan hubungi kami dengan email yyyantos@gmail.com</p> <div id=”jp-post-flair” class=”sharedaddy sharedaddy-dark sd-like-enabled sd-sharing-enabled“></div> </div><!– .entry-content –> <footer class=”entry-meta“> Posted on <a href=”http://buatwebphp.wordpress.com/2013/02/22/cara-membuat-web-dengan-php/” title=”3:30 pm” rel=”bookmark“><time class=”entry-date” datetime=”2013-02-22T15:30:20+00:00“>February 22, 2013</time></a><span class=”byline“> by <span class=”author vcard“><a class=”url fn n” href=”http://buatwebphp.wordpress.com/author/bimaaryana/” title=”View all posts by bimaaryana” rel=”author“>bimaaryana</a></span></span> <span class=”sep“> &bull; </span> <span class=”comments-link“><a href=”http://buatwebphp.wordpress.com/2013/02/22/cara-membuat-web-dengan-php/#respond” title=”Comment on Cara membuat web dengan&nbsp;php“>Leave a comment</a></span> <span class=”sep“> &bull; </span><span class=”edit-link“><a class=”post-edit-link” href=”http://buatwebphp.wordpress.com/wp-admin/post.php?post=4&amp;action=edit” title=”Edit Post“>Edit</a></span> </footer><!– .entry-meta –> </article><!– #post-4 –> </div><!– #content .site-content –> </div><!– #primary .content-area –> <div id=”secondary” class=”widget-area” role=”complementary“> <aside id=”search-2” class=”widget widget_search“> <form method=”get” id=”searchform” action=”http://buatwebphp.wordpress.com/” role=”search“> <label for=”s” class=”assistive-text“>Search</label> <input type=”text” class=”field” name=”s” value=”" id=”s” placeholder=”Search &hellip;” /> <input type=”submit” class=”submit” name=”submit” id=”searchsubmit” value=”Search” /> </form> </aside> <aside id=”recent-posts-2” class=”widget widget_recent_entries“> <h1 class=”widget-title“>Recent Posts</h1> <ul> <li> <a href=”http://buatwebphp.wordpress.com/2013/02/22/cara-membuat-web-dengan-php/” title=”Cara membuat web dengan&nbsp;php“>Cara membuat web dengan&nbsp;php</a> </li> </ul> </aside><aside id=”archives-2” class=”widget widget_archive“><h1 class=”widget-title“>Archives</h1> <ul> <li><a href=’http://buatwebphp.wordpress.com/2013/02/‘ title=’February 2013‘>February 2013</a></li> </ul> </aside><aside id=”categories-2” class=”widget widget_categories“><h1 class=”widget-title“>Categories</h1> <ul> <li class=”cat-item cat-item-1“><a href=”http://buatwebphp.wordpress.com/category/uncategorized/” title=”View all posts filed under Uncategorized“>Uncategorized</a> </li> </ul> </aside><aside id=”meta-2” class=”widget widget_meta“><h1 class=”widget-title“>Meta</h1> <ul> <li><a href=”http://buatwebphp.wordpress.com/wp-admin/“>Site Admin</a></li> <li><a href=”/wp-login.php?action=logout&amp;redirect_to=http://buatwebphp.wordpress.com%2F“>Log out</a></li> <li><a href=”http://buatwebphp.wordpress.com/feed/” title=”Syndicate this site using RSS 2.0“>Entries <abbr title=”Really Simple Syndication“>RSS</abbr></a></li> <li><a href=”http://buatwebphp.wordpress.com/comments/feed/” title=”The latest comments to all posts in RSS“>Comments <abbr title=”Really Simple Syndication“>RSS</abbr></a></li> <li><a href=”http://wordpress.com/” title=”Powered by WordPress, state-of-the-art semantic personal publishing platform.“>WordPress.com</a></li> </ul> </aside> </div> </div><!– #main .site-main –> <footer id=”colophon” class=”site-footer” role=”contentinfo“> <div class=”site-info“> <a href=”http://wordpress.com/?ref=footer” rel=”generator“>Blog at WordPress.com</a>. <span class=”sep“> &bull; </span> Theme: <a href=”http://theme.wordpress.com/themes/chalkboard/” title=”Learn more about this theme“>Chalkboard</a> by <a href=”http://www.edwardrjenkins.com” rel=”designer“>Edward R. Jenkins</a>. </div><!– .site-info –> </footer><!– #colophon .site-footer –> </div><!– #page .hfeed .site –> </div><!– .wrapper –> <script type=”text/javascript“> var _qevents = _qevents || [], wpcomQuantcastData = {“qacct”:”p-18-mFEk4J448M”,”labels”:”,language.en,type.wpcom,wp.loggedin”}; function wpcomQuantcastPixel( labels, options ) { var i, defaults = wpcomQuantcastData, data = { event: ‘ajax’ }; labels = labels || ”; options = options || {}; if ( typeof labels != ‘string’ ) options = labels; for ( i in defaults ) { data[i] = defaults[i]; } for ( i in options ) { data[i] = options[i]; } if ( data.labels ) { data.labels += ‘,’ + labels; } else { data.labels = labels; } _qevents.push( data ); }; (function() {var elem = document.createElement(‘script’);elem.src = (document.location.protocol == “https:” ? “https://secure&#8221; : “http://edge&#8221;) + “.quantserve.com/quant.js”;elem.async = true;elem.type = “text/javascript”;var scpt = document.getElementsByTagName(‘script’)[0];scpt.parentNode.insertBefore(elem, scpt); })(); _qevents.push( wpcomQuantcastData ); </script> <noscript><div style=”display: none;”><img src=”//pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif?labels=%2Clanguage.en%2Ctype.wpcom%2Cwp.loggedin” height=”1″ width=”1″ alt=”" /></div></noscript> <script type=”text/javascript“> /* <![CDATA[ */ jQuery(document).ready( function($) { function doFollowingHover() { $('#wpadminbar #wp-admin-bar-follow > a').unbind( '.unfollow' ); $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseover.unfollow', function() { $(this).html( "Unfollow" ).parent( 'li' ).addClass( 'unfollow' ); }); $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseout.unfollow', function() { $(this).html( "Following" ).parent( 'li' ).removeClass( 'unfollow' ); }); } doFollowingHover(); $('#wpadminbar #wp-admin-bar-follow > a').click( function( e ) { $('#wpadminbar #wp-admin-bar-follow > a').unbind( '.unfollow' ); e.preventDefault(); var link = $( this ), li = $( '#wp-admin-bar-follow' ), timeout = 0; if ( li.hasClass( 'subscribed' ) ) { li.removeClass( 'subscribed' ).removeClass( 'unfollow' ); link.html( "Follow" ); $('body').append( $( 'div.wpcom-bubble' ).removeClass( 'fadein' ) ).off( 'click.bubble' ); var action = 'ab_unsubscribe_from_blog'; } else { li.addClass( 'subscribed' ).removeClass( 'unfollow' ); link.html( "Following" ); var left = 131 - link.width(); li.append( $( 'div.wpcom-bubble' ).css( { left: '-' + left + 'px' } ) ); $( 'div.bubble-txt', 'div.wpcom-bubble' ).html( "New posts from this blog will now appear in <a target=\"_blank\" href=\"http:\/\/wordpress.com\/#!\/read\/\">your reader<\/a>." ); $( 'div.wpcom-bubble.action-bubble' ).addClass( 'fadein' ); setTimeout( function() { $('body').on( 'click.bubble touchstart.bubble', function(e) { if ( !$(e.target).hasClass('wpcom-bubble') && !$(e.target).parents( 'div.wpcom-bubble' ).length ) hideBubble(); }); setTimeout( hideBubble, 10000 ); }, 500 ); var action = 'ab_subscribe_to_blog'; $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseout.shift', function() { doFollowingHover(); $(this).unbind( '.shift' ); }); } var nonce = link.attr( 'href' ).split( '_wpnonce=' ); nonce = nonce[1]; $.post( “http:\/\/buatwebphp.wordpress.com\/wp-admin\/admin-ajax.php”, { ‘action’: action, ‘_wpnonce’: nonce, ‘source’: ‘admin_bar’, ‘blog_url’: “buatwebphp.wordpress.com” }); }); }); /* ]]> */ </script> <script type=’text/javascript‘ src=’//0.gravatar.com/js/gprofiles.js?ver=201308ac‘></script> <script type=’text/javascript‘> /* <![CDATA[ */ var WPGroHo = {"my_hash":"24d8b361de80a9924ab53e464bb43f77"}; /* ]]> */ </script> <script type=’text/javascript‘ src=’http://s0.wp.com/wp-content/mu-plugins/gravatar-hovercards/wpgroho.js?m=1351637563g‘></script> <script>jQuery(document).ready(function($){ Gravatar.profile_cb = function( h, d ) { WPGroHo.syncProfileData( h, d ); }; Gravatar.my_hash = WPGroHo.my_hash; Gravatar.init( ‘body’, ‘#wp-admin-bar-my-account’ ); });</script> <div style=”display:none“> </div> <style type=”text/css“> #TB_window, #TB_overlay { z-index: 99998; /* One less than the Toolbar, pulls us infront of Theme items */ } #TB_load { z-index: 99999; } #TB_ajaxContent { overflow-x: hidden; } #TB_window { position: absolute; } #TB_overlay { background-image: none; background-color: #333; -ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=88)”; filter: alpha(opacity=88); -moz-opacity: 0.88; opacity: 0.88; } #report-form { max-width: 600px; direction: ltr; } #report-form .report-url, #report-form .report-email { width: 100%; max-width: 450px; } #report-form a, #report-form a:visited { color: #1E8CBE; text-decoration: underline; } #report-form div { padding: 8px; font-size: 1.1em; line-height: 20px; } #report-form p { font-size: 13px; margin-bottom: 1em; } #report-form h3 { margin: 10px 0 15px 0; clear: both; padding-bottom: 10px; border-bottom: 1px solid #E5E5E5; font-size: 24px; font-family: sans-serif; font-weight:300; } #report-form label { font-size: 13px; } #report-form .step-2-details label { display: block; } #report-form textarea { margin-top: 10px; width: 100%; max-width: 450px; height: 100px; } #report-form .report-actions { margin-top: 15px; } .entrytext .report-actions .tb-cancel { /* For when form is displayed in a static page */ display:none !important; } #TB_ajaxContent .report-actions .tb-cancel{ display: block; float: left; padding-top:8px; } #report-form .button-primary , #report-form input[type=submit] { cursor: pointer; font-size: 13px; font-family: ‘Open Sans’, ‘Helvetica Neue’, sans-serif; text-decoration: none; height: auto !important; line-height: 1; padding: .6em 1.2em !important; font-weight: 300 !important; border: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; border-radius: 3px !important; color: white; text-shadow: 0 -1px 0 rgba(0, 116, 162, 0.8); background-color: #2EA2CC; background-image: -moz-linear-gradient(top, #1E8CBE 0%, #0074A2 100%); background-image: -webkit-linear-gradient(top, #1E8CBE 0%,#0074A2 100%); background-image: -ms-linear-gradient(top, #1E8CBE 0%,#0074A2 100%); background-image: -o-linear-gradient(top, #1E8CBE 0%,#0074A2 100%); background-image: linear-gradient(top, #1E8CBE 0%,#0074A2 100%); -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5); -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5); float: right; } #report-form .button-primary[disabled],#report-form .button-primary:disabled { color: #AAA !important; border-color: #DDD !important; background: #EEE !important; text-shadow: none; box-shadow: none; } #report-form .button-primary[disabled] a,#report-form .button-primary:disabled a { cursor: disabled; } #report-form input[type="radio"] { margin-right: 5px; } #report-confirm { font-size: 14px !important; font-weight: 500; margin: 150px auto 250px; text-align: center; display: none; } #report-form .required { color: #f00; } .report-form-error-message { margin-left: -8px; margin-bottom: -8px; } @media screen and (max-width: 630px) { #TB_window, #TB_ajaxContent { width: 96%!important; } #TB_window { position: absolute; top: 0!important; left: 0!important; margin-left: 2%!important; margin-top: 100px!important; } } </style> <script> jQuery(document).ready( function($){ var tosform = {}; tosform.loaded = false; tosform.setup = function() { tosform.report_type =”; tosform.ajaxurl = ‘http://buatwebphp.wordpress.com/wp-admin/admin-ajax.php&#8217;; tosform.isLoggedoutUser = ”; tosform.$step1 = $( ‘#report-step-1′ ); tosform.$types = tosform.$step1.find( ‘input:radio’ ); tosform.$step2 = $( ‘#report-step-2′ ); tosform.$step2_details = $( ‘.step-2-details’ ); tosform.$next = $( ‘#step1-submit’ ); tosform.$submit = $( ‘#step2-submit’ ); tosform.$report_url = $(‘#report-url’); tosform.$report_email = $(‘#report-email’); tosform.tm_fields = ‘.trademark-report’; tosform.$step3 = $( ‘#report-confirm’ ); tosform.$step3.hide(); tosform.$step2.hide(); tosform.$step1.show(); tosform.$step2_details.hide(); tosform.$types.attr( ‘checked’, false ); tosform.$next.attr( ‘disabled’, true ); tosform.$submit.attr( ‘disabled’, true ); } tosform.setup(); tosform.setup_step2 = function() { $( ‘#report-step-1′ ).fadeOut( ‘fast’, function(){ tosform.report_type = tosform.$types.filter( ‘:checked’ ).val(); tosform.$step2.fadeIn( ‘fast’ ); // Show step 2 description depending on type of report tosform.$step2_details.hide(); if( tosform.report_type == ‘copyright’ ) $(‘#step2-submit’).hide(); $( ‘#step-2-’ + tosform.report_type).show(); $( ‘#TB_ajaxContent’ ).css( ‘height’, ‘auto’ ); }); } // Enable continue button when an option is selected, if url has been entered and the email is available $(document).on( ‘change.tos_report_form’, ‘#report-step-1 input:radio’, function(){ tosform.report_type = tosform.$types.filter( ‘:checked’ ).val(); if ( $.trim( tosform.$report_url.val() ).length != 0 && tosform.report_type.length != 0 && $.trim( tosform.$report_email.val() ).length != 0 ) tosform.$next.attr( ‘disabled’, false ); else tosform.$next.attr( ‘disabled’, true ); }); // Enable continue button when a url has been entered, if an option has been selected and the email is available $(document).on( ‘change.tos_report_form’, ‘#report-url’, function(){ if ( $.trim( tosform.$report_url.val() ).length != 0 && tosform.report_type.length != 0 && $.trim( tosform.$report_email.val() ).length != 0 ) tosform.$next.attr( ‘disabled’, false ); else tosform.$next.attr( ‘disabled’, true ); }); // Enable continue button when an email has been entered, if an option is selected and url has been entered $(document).on( ‘change.tos_report_form’, ‘#report-email’, function(){ if ( $.trim( tosform.$report_url.val() ).length != 0 && tosform.report_type.length != 0 && $.trim( tosform.$report_email.val() ).length != 0 ) tosform.validateUrl( tosform.$report_url.val() ); else tosform.$next.attr( ‘disabled’, true ); }); // Move to step 2 $(document).on( ‘click.tos_report_form’, ‘#step1-submit’, function(){ if( tosform.isLoggedoutUser) { $(‘#step1-submit’).val(‘validating..’); $.ajax( { url: tosform.ajaxurl, type : ‘POST’, dataType: ‘json’, data : { action: ‘tos_validate_report_fields’, report_url: $.trim( tosform.$report_url.val() ), report_email: $.trim( tosform.$report_email.val() ) }, success: function( errorMessages ) { $( ‘#tos-email-error-message’ ).empty(); $( ‘#tos-url-error-message’ ).empty(); if( Object.keys(errorMessages.errors).length === 0 ) { tosform.setup_step2(); } else { if( typeof errorMessages.errors.email_error_message != ‘undefined’ ) $( ‘#tos-email-error-message’ ).append( ‘<p>’ + errorMessages.errors.email_error_message[0] + ‘</p>’ ); if( typeof errorMessages.errors.url_error_message != ‘undefined’ ) $( ‘#tos-url-error-message’ ).append( ‘<p>’ + errorMessages.errors.url_error_message[0] + ‘</p>’ ); $( ‘#step1-submit’ ).val( ‘Submit’ ); } } }); } else { tosform.setup_step2(); } }); // Enable form submission when reason textarea is field $(document).on( ‘change.tos_report_form input.tos_report_form paste.tos_report_form’, ‘textarea.step-2-confirm’, function(){ if ( $.trim( $(this).val() ).length != 0 ) tosform.$submit.attr( ‘disabled’, false ); else tosform.$submit.attr( ‘disabled’, true ); }); // TM report: enable form submission when no field is empty $(document).on( ‘change.tos_report_form input.tos_report_form paste.tos_report_form’, tosform.tm_fields, function(){ empty = false; $( tosform.tm_fields ).each(function(){ if ( $.trim( $(this).val().length ) == 0 ) { empty = true; return false; // break out of .each } }); if ( empty || ! $( ‘#trademark-authorization’ ).is( ‘:checked’ ) ) tosform.$submit.attr( ‘disabled’, true ); else tosform.$submit.attr( ‘disabled’, false ); }); // close window on cancel button click or overlay click $(document).on( ‘click.tos_report_form’, ‘.tb-cancel, #TB_overlay’, function(e) { e.preventDefault(); tb_remove(); }); // close window on ‘esc’ keypress $(document).keyup( function(e) { if ( e.keyCode == 27 ) { tb_remove(); } }); // open the form $(document).on( ‘click.tos_report_form’, ‘#wp-admin-bar-wpcom_report_url’, function(e){ e.preventDefault(); tb_show( “Report this content”, ‘#TB_inline?height=450&width=auto&inlineId=report-form-window&modal=true’, ” ); if ( ! tosform.loaded ) { $( ‘#TB_ajaxContent’ ).spin( ‘large’ ); $.ajax( { url: tosform.ajaxurl, data : { action: ‘tos_form’, post_id: ”, report_url: ‘http://buatwebphp.wordpress.com&#8217; }, success: function( form ) { $( ‘#TB_ajaxContent’ ).html( form ).css( ‘height’, ‘auto’ ); tosform.setup(); tosform.loaded = true; }, xhrFields: { withCredentials: true } } ); } else { $( ‘#TB_ajaxContent .spinner’ ).remove(); tosform.setup(); } return false; }); // submit the form $(document).on( ‘submit.tos_report_form’, ‘#report-form’, function(e){ e.preventDefault(); // set the reason according to the form type $( ‘#report-form input[name=reason]‘ ).val( $( ‘#confirm-’ + tosform.report_type ).val() ); var formData = $( ‘#report-form’ ).serialize(); $.ajax( { url: tosform.ajaxurl, data : formData, type : ‘POST’, xhrFields: { withCredentials: true } }); tosform.$step2.hide(); tosform.$step3.show(); $( ‘#TB_ajaxContent’ ).spin( ‘large’ ); setTimeout(function(){ tb_remove(); }, 2000); }) }); </script> <div id=”report-form-window” style=”display:none;“> </div> <script type=’text/javascript‘> /* <![CDATA[ */ var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"http:\/\/buatwebphp.wordpress.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif","closeImage":"http:\/\/buatwebphp.wordpress.com\/wp-includes\/js\/thickbox\/tb-close.png"}; var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"http:\/\/buatwebphp.wordpress.com\/wp-includes\/js\/thickbox\/loadingAnimation.gif","closeImage":"http:\/\/buatwebphp.wordpress.com\/wp-includes\/js\/thickbox\/tb-close.png"}; /* ]]> */ </script> <script type=’text/javascript‘> /* <![CDATA[ */ var jetpackSlideshowSettings = {"spinner":"http:\/\/s1.wp.com\/wp-content\/mu-plugins\/shortcodes\/img\/slideshow-loader.gif","blog_id":"47409062","blog_subdomain":"buatwebphp","user_id":"46450369"}; /* ]]> */ </script> <script type=’text/javascript‘ src=’http://s2.wp.com/_static/??-eJyNj+sKwjAMhV/Irowx8I/4LF0abGtvNq3bfHo7GAPHFCEkIScfJ+FjZNqDLRKJG+LFS0wEIWHjtG8MnfhuYxBwH4L/0CH4jD4vsiuUBSjcS66waMtNe+I+ZFwzS0i57jgXDs2ErC5sEOmLm8SnBozTEZuVXi6dtuaAN4+CaV5LYzDH+t1ylH79+oBUSBnCarTSMIP9HyKra6fCyLZ5Za/u0nb9ua/RteYN73mZ4w==‘></script> <script type=’text/javascript‘> /* <![CDATA[ */ var kissmetrics_api = {"api_key":"1a5dae51d4d383f128e683a5d7774363d60b5f5d","username":"bimaaryana"}; var kissmetrics_queries = {"properties":[{"user last seen":"2013-02-22"},{"browser type":"desktop"}]}; /* ]]> */ </script> <script type=’text/javascript‘ src=’http://s0.wp.com/wp-content/mu-plugins/kissmetrics/kissmetrics.js?m=1361521309g&ver=20130222‘></script> <script type=’text/javascript‘ src=’http://s2.wp.com/_static/??/wp-content/themes/pub/chalkboard/js/small-menu.js,/wp-content/mu-plugins/notes/admin-bar-rest.js,/wp-content/js/postmessage.js?m=1360731103j‘></script> <script type=”text/javascript“> // <![CDATA[ (function() { try{ if ( window.external &&'msIsSiteMode' in window.external) { if (window.external.msIsSiteMode()) { var jl = document.createElement('script'); jl.type='text/javascript'; jl.async=true; jl.src='/wp-content/plugins/ie-sitemode/custom-jumplist.php'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(jl, s); } } }catch(e){} })(); // ]]> </script><script src=”http://s.stats.wordpress.com/w.js?21” type=”text/javascript“></script> <script type=”text/javascript“> st_go({‘blog’:’47409062′,’v':’wpcom’,'tz’:’0′,’user’:’1′,’user_id’:’46450369′,’subd’:'buatwebphp’}); ex_go({‘crypt’:'UE40eW5QN0p8M2Y/RE1zNDZ8S252Wis9XUQyb3YrcUVIU2R0VH5TdXIyfFgyfjVBN0lIeEpROGxdTnl0NVVYdjNTZURNdE02OUdKNkUyY0E5bXUzSWdEL3dpVH4xUDhUNytSLXNNVWZYLDc9V2UuTzNHYS1nUE1oQ1BbWi84eFZ1WjI3Xzl4fnxjOFtqMis9OXM2Qy0sX0IrWVdmNk5qQkgyQUZdN1otLHhZY3BuUU0mZX52UXxoZGhkV1hUVHx5fENhSldVJVJbWlN8fjZ0X20/RTgzNUs9VW1Pdl1MY1ZuJk5ySzZBQW5lUWY3fjV4YywxSkpZP1E3MWUuRU16elYyVD8zbVhXJS5n’}); </script> <noscript><img src=”http://stats.wordpress.com/b.gif?v=noscript&#8221; style=”height:0px;width:0px;overflow:hidden” alt=”" /></noscript> <script type=”text/javascript“> jQuery(document).ready( function($) { var iptOpen, iptClose; iptOpen = function() { var iframe = $( ‘iframe#ab-post’ ); $( ‘#wp-admin-bar-ab-new-post’ ).addClass(‘hover’); if ( ! iframe.length ) { iframe = $( ” ); $( ‘body’ ).prepend( ‘<div id=”ab-post-options”><a href=”" id=”ab-close-button”>Close</a> | <a href=”" id=”ab-popout-button”>Pop-out</a></div>’ ); $( ‘div#ab-post-options’ ).hide(); $( ‘body’ ).prepend( iframe ); iframe.unbind( ‘load’ ).bind( ‘load’, function() { $( ‘div#ab-post-options’ ).fadeIn(); }); } else { iframe.animate( { ‘height’: ’345px’ }, 350, function() { $(this).removeClass( ‘noborder’ ); $( ‘div#ab-post-options’ ).fadeIn(); } ); } $( ‘body, #wpadminbar’ ).animate( { ‘margin-top’: ’349px’ }, 350 ); $( ‘iframe#ab-post’ ).animate( { ‘height’: ’349px’ }, 350 ); }; iptClose = function() { $( ‘#wp-admin-bar-ab-new-post’ ).removeClass(‘hover’).mouseout(); $( ‘div#ab-post-options’ ).hide(); $( ‘iframe#ab-post’ ).addClass( ‘noborder’ ).animate( { ‘height’: ’0′ }, 300 ); $( ‘body, #wpadminbar’ ).animate( { ‘margin-top’: ’0′ }, 300 ); }; // move all clicks to the body tag $(‘body’).bind(‘click.iptframe’, function(e) { var t = $(e.target); if ( t.is( ‘#wp-admin-bar-ab-new-post a’ ) ) { e.preventDefault(); if ( !$( ‘iframe#ab-post’ ).height() > 0 ) iptOpen(); else iptClose(); } else if ( t.is( ‘#ab-close-button’ ) ) { e.preventDefault(); iptClose(); } else if ( t.is( ‘#ab-popout-button’ ) ) { e.preventDefault(); window.open( ‘http://postto.wordpress.com/?abpost&bid=47409062&#8242;, ‘popoutpost’, ‘width=850, height=320′ ); iptClose(); } }); }); </script> <script type=”text/javascript“> // Trigger Quantcast pixel for each Infinite Scroll post load if ( ‘function’ === typeof( jQuery ) ) { jQuery( document.body ).on( ‘post-load’, function() { if ( ‘function’ === typeof( wpcomQuantcastPixel ) ) wpcomQuantcastPixel(); } ); } </script> <script> var wpNotesA8CUser = false ; </script> <script type=”text/javascript“> (function() { var request, b = document.body, c = ‘className’, cs = ‘customize-support’, rcs = new RegExp(‘(^|\\s+)(no-)?’+cs+’(\\s+|$)’); request = true; b[c] = b[c].replace( rcs, ‘ ‘ ); b[c] += ( window.postMessage && request ? ‘ ‘ : ‘ no-’ ) + cs; }()); </script> <div id=”wpadminbar” class=”nojq nojs ltr” role=”navigation“> <a class=”screen-reader-shortcut” href=”#wp-toolbar” tabindex=”1“>Skip to toolbar</a> <div class=”quicklinks” id=”wp-toolbar” role=”navigation” aria-label=”Top navigation toolbar.” tabindex=”0“> <ul id=”wp-admin-bar-root-default” class=”ab-top-menu“> <li id=”wp-admin-bar-newdash” class=”menupop“><a class=”ab-item” aria-haspopup=”true” href=”http://wordpress.com/“><span id=”newdash-icon“>WordPress.com</span></a><div class=”ab-sub-wrapper“><ul id=”wp-admin-bar-newdash-default” class=”ab-submenu“> <li id=”wp-admin-bar-newdash-new-post“><a class=”ab-item” href=”http://wordpress.com/#!/post/“>New Post</a> </li> <li id=”wp-admin-bar-newdash-read-blogs“><a class=”ab-item” href=”http://wordpress.com/#!/read/“>Reader</a> </li> <li id=”wp-admin-bar-newdash-notifications“><a class=”ab-item” href=”http://wordpress.com/#!/notifications/“>Notifications</a> </li> <li id=”wp-admin-bar-newdash-stats“><a class=”ab-item” href=”http://wordpress.com/#!/my-stats/“>Stats</a> </li> <li id=”wp-admin-bar-newdash-my-blogs“><a class=”ab-item” href=”http://wordpress.com/#!/my-blogs/“>My Blog</a> </li> <li id=”wp-admin-bar-newdash-freshly-pressed“><a class=”ab-item” href=”http://wordpress.com/#!/fresh/“>Freshly Pressed</a> </li> <li id=”wp-admin-bar-newdash-settings“><a class=”ab-item” href=”http://wordpress.com/#!/settings/“>Settings</a> </li></ul></div> </li> <li id=”wp-admin-bar-jumptotop-button-menu“><a class=”ab-item” href=”#“><div id=”jumptotop“><span class=”noticon noticon-top“></span></div></a> </li> <li id=”wp-admin-bar-blog” class=”menupop“><a class=”ab-item” aria-haspopup=”true” href=”http://buatwebphp.wordpress.com/“>buatwebphp</a><div class=”ab-sub-wrapper“><ul id=”wp-admin-bar-blog-default” class=”ab-submenu“> <li id=”wp-admin-bar-dashboard“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/“>Dashboard</a> </li> <li id=”wp-admin-bar-new-content” class=”menupop“><a class=”ab-item” aria-haspopup=”true” href=”http://buatwebphp.wordpress.com/wp-admin/post-new.php?post_type=post“>New</a><div class=”ab-sub-wrapper“><ul id=”wp-admin-bar-new-content-default” class=”ab-submenu“> <li id=”wp-admin-bar-new-post“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/post-new.php?post_type=post“>Post</a> </li> <li id=”wp-admin-bar-new-page“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/post-new.php?post_type=page“>Page</a> </li> <li id=”wp-admin-bar-new-attachment“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/post-new.php?post_type=attachment“>Media</a> </li> <li id=”wp-admin-bar-new-link“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/link-add.php“>Link</a> </li></ul></div> </li> <li id=”wp-admin-bar-comments“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/edit-comments.php“>Comments</a> </li> <li id=”wp-admin-bar-customize” class=”hide-if-no-customize“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/customize.php“>Customize</a> </li> <li id=”wp-admin-bar-widgets“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/widgets.php“>Widgets</a> </li></ul><ul id=”wp-admin-bar-blog-secondary” class=”ab-sub-secondary ab-submenu“> <li id=”wp-admin-bar-shortlink“><a class=”ab-item” href=”http://wp.me/3cVgi“>Shortlinkhttp://wp.me/3cVgi</a>Shortlink: <input id=”adminbar-shortlink-input” value=”http://wp.me/3cVgi” readonly=”readonly” /> </li> <li id=”wp-admin-bar-random-post” class=”menu-item-random-post“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/?random“>Random Post</a> </li> <li id=”wp-admin-bar-theme-chalkboard“><a class=”ab-item” href=”http://theme.wordpress.com/themes/chalkboard/“>Theme: Chalkboard</a> </li> <li id=”wp-admin-bar-wpcom_report_url“><a class=”ab-item” href=”http://en.wordpress.com/complaints/“>Report this content</a> </li></ul></div> </li> <li id=”wp-admin-bar-follow” class=”subscribed“><a class=”ab-item” href=”http://wordpress.com/read?b=47409062&unsub=1&_wpnonce=949279bab6“><span id=”admin-bar-unfollow-link“>Following</span></a> </li> <li id=”wp-admin-bar-stats“><a class=”ab-item” href=”http://wordpress.com/#!/my-stats/“><div><script type=’text/javascript‘>var src;if(typeof(window.devicePixelRatio)==’undefined’||window.devicePixelRatio<2){src=’/wp-includes/charts/admin-bar-hours-scale.php’;}else{src=’/wp-includes/charts/admin-bar-hours-scale-2x.php’;}document.write(‘<img src=\”+src+’\’ alt=\’Stats\’ title=\’Showing site views per hour for the last 48 hours. Click for full Site Stats.\’ />’);</script></div></a> </li></ul><ul id=”wp-admin-bar-top-secondary” class=”ab-top-secondary ab-top-menu“> <li id=”wp-admin-bar-search” class=”admin-bar-search“><div class=”ab-item ab-empty-item” tabindex=”-1“><form id=’adminbarsearch‘ name=’adminbarsearch‘ action=’http://en.search.wordpress.com‘ method=’get‘> <input class=’adminbar-search-input‘ name=’q‘ id=’q‘ type=’text‘ value=” maxlength=’150‘ tabindex=’10‘ /> <input type=”hidden” name=”site” value=”buatwebphp.wordpress.com” /> </form></div> </li> <li id=”wp-admin-bar-my-account” class=”menupop with-avatar“><a class=”ab-item” aria-haspopup=”true” href=”http://wordpress.com/#!/settings/“><span class=”ab-display-name“>bimaaryana</span><img alt=” src=’http://2.gravatar.com/avatar/24d8b361de80a9924ab53e464bb43f77?s=32&amp;d=mm&amp;r=G‘ class=’avatar avatar-32‘ height=’32‘ width=’32‘ /></a><div class=”ab-sub-wrapper“><ul id=”wp-admin-bar-user-actions” class=”ab-submenu“> <li id=”wp-admin-bar-user-info” class=”user-info user-info-item“><a class=”ab-item” tabindex=”-1” href=”#“><a href=”http://wordpress.com/#!/settings/“><img alt=” src=’http://2.gravatar.com/avatar/24d8b361de80a9924ab53e464bb43f77?s=128&amp;d=mm&amp;r=G‘ class=’avatar avatar-128‘ height=’128‘ width=’128‘ /><span class=”display-name“>bimaaryana</span><span class=”username“>bimaaryana</span></a></a> </li> <li id=”wp-admin-bar-find-friends” class=”user-info-item“><a class=”ab-item” href=”http://wordpress.com/#!/read/find-friends/“>Find Friends</a> </li> <li id=”wp-admin-bar-manage-blogs” class=”user-info-item“><a class=”ab-item” href=”http://wordpress.com/#!/my-blogs/“>Manage My Blogs</a> </li> <li id=”wp-admin-bar-help” class=”user-info-item“><a class=”ab-item” href=”http://en.support.wordpress.com/“>Help</a> </li> <li id=”wp-admin-bar-logout” class=”user-info-item“><a class=”ab-item” href=”http://wordpress.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fwordpress.com%2F“>Sign Out</a> </li></ul><ul id=”wp-admin-bar-my-sites” class=”ab-sub-secondary ab-submenu“> <li id=”wp-admin-bar-blog-47409062” class=”menupop“><a class=”ab-item” aria-haspopup=”true” href=”http://buatwebphp.wordpress.com/“><img src=”http://s2.wp.com/i/wpmini-blue.png?m=1311732102g” alt=”Blavatar” width=”16” height=”16” />buatwebphp</a><div class=”ab-sub-wrapper“><ul id=”wp-admin-bar-blog-47409062-default” class=”ab-submenu“> <li id=”wp-admin-bar-blog-47409062-d“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/“>Dashboard</a> </li> <li id=”wp-admin-bar-blog-47409062-n“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/post-new.php“>New Post</a> </li> <li id=”wp-admin-bar-blog-47409062-s“><a class=”ab-item” href=”http://wordpress.com/#!/my-stats/?blog=47409062“>Site Stats</a> </li> <li id=”wp-admin-bar-blog-47409062-c“><a class=”ab-item” href=”http://buatwebphp.wordpress.com/wp-admin/edit-comments.php“>Manage Comments</a> </li> <li id=”wp-admin-bar-blog-47409062-v“><a class=”ab-item” href=”http://buatwebphp.wordpress.com“>Read Blog</a> </li></ul></div> </li></ul></div> </li> <li id=”wp-admin-bar-notes” class=”menupop“><div class=”ab-item ab-empty-item” ><span id=”wpnt-notes-unread-count” class=”wpnt-loading wpn-read“> <span class=”noticon noticon-notification” ”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.”>/></span> </span></div><div id=”wpnt-notes-panel” style=”display:none“><div class=”wpnt-notes-panel-header“><span class=”wpnt-notes-header“>Notifications</span><span class=”wpnt-notes-panel-link“></span></div></div> </li> <li id=”wp-admin-bar-ab-new-post“><a class=”ab-item” href=”http://wordpress.com/#!/post/“>New Post</a> </li></ul> </div> <a class=”screen-reader-shortcut” href=”http://buatwebphp.wordpress.com/wp-login.php?action=logout&_wpnonce=a4912ded7b“>Log Out</a> </div> <script type=”text/javascript“> /* <![CDATA[ */ var clickDebugLink; jQuery(document).ready( function($) { var single = false, w = 1000, supe = false; $(document.body).load(function(){ $('#wpadminbar img.grav-hashed').removeClass('grav-hashed'); }); // hack to hide the gravatar hovercard if ( single && supe ) w = 1385; else if ( supe ) w = 1200; // debug bar extra clickDebugLink = function( parent_id, obj ) { $('#'+parent_id).children('div').hide(); document.getElementById( obj.href.substr( obj.href.indexOf( '#' ) + 1 ) ).style.display = 'block'; $( obj.href.substr( obj.href.indexOf( '#' ) ) ).show() $(obj).parent().addClass('current').siblings('li').removeClass('current'); return false; }; $('#wpadminbar li ul').each( function(i, el) { // DISABLE SCROLLING MENUS // @todo: Update scrolling menus for 3.3. return; var ul = $(el), li = ul.children('li').not('.adminbar-handle, #wp-admin-bar-my-account-info'), handle, index = 0, step = 3, len = li.length, size; if ( 'wp-admin-bar-my-account-with-avatar' == $( this ).parent().attr( 'id' ) ) size = Math.round( ( $( window ).height() - 354 ) / 28 ); else size = Math.round( ( $( window ).height() - 170 ) / 28 ); if ( !ul.length || len < size + 1 || $('li:first', ul).is('.handle-top') ) return; if ( len - size < 3 ) step = len - size; handle = $('<li />'); if ( 'wp-admin-bar-my-account-with-avatar' == $( this ).parent().attr( 'id' ) ) { $( '#wp-admin-bar-my-account-info' ).after( handle.clone().addClass('handle-top scrollend') ); $( '#wp-admin-bar-my-account-info' ).css( {'padding-bottom': '15px'} ); ul.css( {'padding-bottom': '15px'} ); } else { ul.css({'padding': '15px 0'}).prepend( handle.clone().addClass('handle-top scrollend') ); } ul.append( handle.addClass('handle-bottom') ); li.slice(size).hide(); $('li.adminbar-handle', ul).click(function(e){ e.stopPropagation(); if ( $(this).hasClass('handle-top') ) { if ( li.first().is(':visible') ) return; index -= step; $('.handle-bottom', ul).removeClass('scrollend'); if ( index <= 0 ) { index = 0; $(this).addClass('scrollend'); } li.slice(index, index + step).show(); li.slice(index + size, index + size + step).hide(); } else { if ( li.last().is(':visible') ) return; index += step; $('.handle-top', ul).removeClass('scrollend'); if ( index >= len - size ) { index = len - size; $(this).addClass('scrollend'); } li.slice(index - step, index).hide(); li.slice(index + (size - step), index + size).show(); } }); }); $( '#wpadminbar #wp-admin-bar-shortlink' ).click( function() { $( '#adminbar-shortlink-input' ).select(); }); $( '#wpadminbar #adminbarsearch .adminbar-search-input' ).focus( function() { $( '#wpadminbar #adminbarsearch input' ).addClass( 'search-input-focus' ); $( '#wpadminbar #wp-admin-bar-search' ).addClass( 'search-input-focus' ); }); $( '#wpadminbar #adminbarsearch .adminbar-search-input' ).focusout( function() { $( '#wpadminbar #adminbarsearch input.adminbar-search-input' ).removeClass( 'search-input-focus' ); $( '#wpadminbar #wp-admin-bar-search' ).removeClass( 'search-input-focus' ); }); }); /* ]]> */ </script> <div class=”wpcom-bubble action-bubble“> <div class=”bubble-txt“></div> </div> <script type=”text/javascript“>function hideBubble() { jQuery(‘body’).append( jQuery( ‘div.wpcom-bubble’ ).removeClass( ‘fadein’ ) ).off( ‘click.bubble touchstart.bubble’ ); jQuery(document).off( ‘scroll.bubble’ ); };</script> <script type=”text/javascript“> jQuery( ‘#wp-admin-bar-jumptotop-button-menu a’ ).click( function( e ) { e.preventDefault(); jQuery( ‘html, body’ ).animate( { scrollTop: 0 }, ‘fast’ ); } ); function hideShowTbJumpToTop() { var total_width = 0; // Calculate total width taken by li’s minus our button to see if we it’ll // overlap with other toolbar menus. jQuery( ‘#wp-admin-bar-root-default > li’ ).each( function() { var self = jQuery( this ); if ( ‘wp-admin-bar-jumptotop-button-menu’ != self.attr( ‘id’ ) ) total_width += self.width(); }); if ( jQuery( ‘#wp-admin-bar-jumptotop-button-menu’ ).position()['left'] – total_width < 10 ) { jQuery( ‘#jumptotop’ ).animate( { ‘top’: ‘-50px’ }, ‘fast’ ); } else if ( jQuery( window ).scrollTop() >= 350 && parseInt( jQuery( ‘#jumptotop’ ).css( ‘top’ ) ) < 0 ) { if ( jQuery( ‘#wp-admin-bar-jumptotop-button-menu’ ).position()['left'] – total_width < 10 ) return; jQuery( ‘#jumptotop’ ).animate( { ‘top’: 0 }, ‘fast’ ); } else if ( jQuery( window ).scrollTop() < 1 && parseInt( jQuery( ‘#jumptotop’ ).css( ‘top’ ) ) >= 0 ) { jQuery( ‘#jumptotop’ ).animate( { ‘top’: ‘-50px’ }, ‘fast’ ); } } // handle on page load if auto scrolling to a position hideShowTbJumpToTop(); // bind to scrolll event jQuery( window ).scroll( function() { hideShowTbJumpToTop(); } ); </script> </body> </html>
  6. Maaf ya terlalu panjang,,gak papa lah,tinggal cpy paste ini”yuk lanjut
  7. Setelah kamu paste di notepad, save dengan nama terserah kamu yang penting ada .php setelahnya(misal bima.php).sebelum menyimpan pastikan save as type yang ada di menu simpan diganti all type.untuk penyimpanan tempatkan disini C-xammp-htdocs.
  8. setelah itu buka web browser:mozilla firefox,operamini/dll.buka aja mozila.
  9. Setelah mozilla dibuka panggil web kamu dengan cara ketik localhost/bima.php di alamat mozilla.(tidak dalam keadaan koneck internet).maka web anda akan muncul.
  10. Selanjutnya beli domain untuk memasang web anda ke internet.