xernt.com




Xernt helps you find up-to-date answers & allows to take a part in building human knowledge database.
This Post below ↓ is only visible to you.
It is sheduled to delete with all the changelog & comment data attached. You can cancel deletion at any time.
4 weeks left
TIP. Editing item cancels the deletion shedule automatically.
SEARCH RANKING GOOGLE, keeping high

SEARCH RANKING GOOGLE, keeping highEdit

 
 
SEARCH RANKING GOOGLE

Your WEBSITE

First you must work ON YOUR SITE, CREATE A VALUABLE CONTENT. You can't go deeper without achieving it.

  1. DOMAIN

    If your domain isn't YOUR_KEYWORD.COM, you must do at least subdomain: YOUR_KEYWORD.PATH-OF-POWER.COM; then the best, if you're keyword would appear NEXT AFTER: YOUR_KEYWORD.PATH-OF-POWER.COM/YOUR_KEYWORD-NEXT_KEYWORD-NEXT_KEYWORD in your URL. Example: http://path-of-power.com/extreme-tiredness-feeling-tired,1.

    For programmers: id, put it on the end (I would put code there). [You can buy my website, which contains all seo positioning included, clearest and purest code for only 500£ - with all instructions and lifetime updates and support!] [590 pound ENGINE path-of-power [cocaincorp] to buy]

  2. META TAG: TITLE

    </TITLE> in webpage code. 1st rule is that YOUR_KEYWORD (which is first and the most important) GOES EXACTLY FIRST. You also filter "fluff words" as I call them. Here is the array.<br /> <code> $keywords = array('and ','on ','a ','the ','for ','to ','about ','are ','that ','were ','by ','of ','AND ','ON ','A ','THE ','FOR ','TO ','ABOUT ','ARE ','THAT' ,'WERE ','BY ','OF ', 'Feeling ', 'Have '); for($i = 0; $i <= count($keywords); $i++) $t = str_replace($keywords[$i],'',$t);</code> [list would be updated]. Web Engines don't give ANY important to those words. You need to remove them, they affect your #rankings.<br /> <br /> You could put all those words to LOWERCASE (strtolower()) and them put every first single letter to uppercase, but you need to vary UPPERCASE with LOWERCASE - they affect it.<br /> <br /> Also a mistake is adding "DOMAIN_NAME.com" on every page (like i Used to do in past, BUT neither if DOMAIN_NAME is a KEYWORD). DO it, but don't add + ".com" thing. Also step words "fluff" like |, @ didn't maybe put much into lower position, but they could affect a little bit the whole, skip them.<br /> <br /> KEYWORD shouldn't appear more than 3 times in a title. Example with keyword:value. Look: VALUE, How to Create Value, Values, Claiming, What it is, Creation (only 3 times appeared). Above, it would be probably marked as SPAM by search engines. It's isn't ideal, but the point was to show – that you must also remember about the user, search engines know that (% tolerance)<br /> <br /> DELETE last "." (dot) or "?" from the TITLE.<br /> <br /> To get best results with keywords you need to know them: https://adwords.google.com/select/KeywordToolExternal.<br /> <br /> Notice that for top 10 best results (global monthly search volume) you need to have big pagerank to get on the top. You can compete for next 10 medium with new websites.<br /> </li><br /> <li><h2>META TAG: KEYWORDS</h2><meta name="keywords" content="KEYWORD1,KEYWORD2,KEYWORD3"/> in webpage code. The same rules like with TITLE.</li><br /> <li><h2>META TAG: DESCRIPTION</h2><meta name="description" content="DESRIPTION of particular page (descriptive content)."/> in webpage code. You put there a really descriptive content of your page (particular). You want to have description for every of your page, Google seem to put higher pages with description (because they have been treated with much more care).</li><br /> <li><h2>Accesing links</h2>Page must be indexable all for crawlers. Here: http://www.webconfs.com/search-engine-spider-simulator.php you can do a check. You would also like to use free tool: <b>XENU</b>.</li><br /> <li><h2>ROBOTS.txt file</h2>Your robots.txt file should be in YOUR_DOMAIN.COM/robots.txt (http://path-of-power.com/robots.txt)<br /> <code>User-agent: *<br /> Allow: /<br /> Sitemap: http://path-of-power.com/sitemap.xml</code></li><br /> <li><h2>SITEMAP</h2>Sitemap also, in .xml, the same directory. You should also add a .html sitemap to your links (in footer of page). You can generate a sitemap by using: xml-sitemaps.org</li></ol><br /> <br /> <h2>OFF SITE TECHNIQUES</h2><br /> <ol><li class='strike'><h2>buying 100 domains ".com" and putting on them: "infopages" with UNIQUE content</h2>with link to your site on every page, ONLY TO YOUR SITE [update: see point 10, the method which I've presented here produces weak effects, in point .10 it has been improved and developed] and position them too (lots of links to them on: boards, blogs, other websites!)</li><br /> <li><h2>BUY positioning in a company</h2>you would pay monthly little sum of money, but they would post 1 000 or more back links to your site and update it periodically</li><br /> <li><h2>page time load</h2>You must .htaccess file that would "force to keep" all images, content on the website (used frequently) "fetch" the website content. In most amateur pages - content is downloaded every single times page is refreshed (all .css (cascade style sheet), used graphics). BIGGEST MISTAKE.</li><br /> <li><h2>Directories (catalogs)</h2></li><br /> <li><h2>link popularity</h2></li><br /> <li><h2>Friendly Links</h2><a href='http://path-of-power.com/extreme-tiredness-feeling-tired,1' target='_blank'>http://path-of-power.com/extreme-tiredness-feeling-tired,1</a>: meta keywords are presented in the url in after / (main directory), besides, when entering: for example: http://path-of-power.com/always-bad-mood,1 it redirects with header('Location: ...',true,301); exit; to the good URL, it's important also. URL of the title (in url) should be also restricted too.</li><br /> <li><h2>PAGE Theme!</h2>It needs to be "light", without much graphics, load fast and be clear with <h1></h1> etc. headers, everything must be clean, maximally.</li><br /> <li><h2>FILESIZE of each page</h2> YES! you see good. Not mentioning the compress of the whole page in fly and sending static .html [590 pound <a href='http://path-of-power.com/cart/?path_engine=1'>ENGINE path-of-power [cocaincorp]</a> to buy] you must also save the bandwidth by doing simple things like: instead of putting everywhere (new break line) <br /> (WITH SPACE after BR) you put <br/> it saves 1 byte! [<br> (IT ISN'T XHTML VALID!)] Also with images <img src='' alt='' [remember EVERYWHERE ABOUT THE ALT TAG!]/> you put <img src='' alt=''/> not leaving the empty spaces. It applies everywhere (inputs, etc.).<br /> <br /> You would like also to compress .js (all javascript files) into 1 file and send them gzip compressed, only once. [590 pound <a href='http://path-of-power.com/cart/?path_engine=1'>ENGINE path-of-power [cocaincorp]</a> to buy]<br /> <br /> For .css compression I use: <a href='http://csscompressor.com' target='_blank'>csscompressor.com</a>, <a href='http://refresh-sf.com/yui/#output' target='_blank'>refresh-sf.com/yui/#output</a> - they sort out attributes etc. You can send .gzip css to user.<br /> <br /> For javascript compression I use: <a href='http://closure-compiler.appspot.com/home' target='_blank'>http://closure-compiler.appspot.com/home</a>. You should send .gzip javascript to user (all .js files go to 1 big gzipped file).</li><br /> <li><h2>ALEXA RANKING, [pagerank]</h2></li><br /> <li><h2>AGE of PAGE!</h2></li><br /> <li><h2>CREATE land pages for your website</h2>You buy domain with your keyword: your-keyword.com, put it on UNIQUE IP server and create single (or many on site) <b>information pages</b> relating to your main article/website (CONTENT needs to be UNIQUE and relevant on each one of them!) and put on it, link to your website (with anchor link!), how to create such page and more information you can find <a href='http://path-of-power.com/landpage-landpages-land-pages-ready-html-code,154' target='_blank'>LANDPAGE, landpages, land pages, ready html code</a>.</li></ol><br /> <br /> <br /> <h2>OTHER</h2><br /> <ol><li>You article must have on each page at least 250 words to be considered as "useful" for search engines.</li></ol><br /> <br /> ALL those methods have been implemented in mine engine. SAVE your TIME and get ready mastered solution for only [590 pound <a href='http://path-of-power.com/cart/?path_engine=1'>ENGINE path-of-power [cocaincorp]</a> to buy]. I've been working on it for the last 4 years.<br /> <br /> RELATED ARTICLE: <a href='http://path-of-power.com/web-ceo-search-engine-optimization,129' target='_blank'>WEB CEO, search engine optimization tool</a>.<br /> <br /> You should use also tool (for optimization): <b>Internet Business Promoter</b> without any doubt, it should show you what to do to <b>get #1-10 ranking on Google</b>.<br /> <br /> After everything is done: build links, farms with links and <b>patience, my friend, is a virtue</b>.<br /> <br /> <b>Tips</b><br /> <br /> <ol><li><h2>Choose a domain: with www. or without www prefix domain</h2>Google treats websites as a separate (eg: www.path-of-power.com <> path-of-power.com [is different, for Google]). Choose a domain (with or without www.) and stick to it. I <b>recommend to use name without www. prefix</b>, why? It's shorter by 4 chars, it's better to use domain without www. slashes (optically and for user). Use in your "/" directory .htaccess to redirect <b>traffic from the domain you not prefer (not use)</b>, code below.<br /> <br /> <code>Options +FollowSymlinks<br /> RewriteEngine On<br /> <br /> RewriteBase /<br /> RewriteCond %{HTTP_HOST} ^(.+)?\.path-of-power.com$ [NC]<br /> RewriteRule ^(.*)$ http://path-of-power.com/$1 [R=301,L]</code><br /> <br /> Very big amount of serious websites buy even domains co.uk or regional to redirect them (with status code: 301) on the right domain (with/without www.). All your traffic goes on 1 domain, remember it (the same, you sticked before).</li></ol> <a href='http://xernt.com/login/SEARCH-RANKING-GOOGLE-keeping-high' class='c333' style='text-decoration:none'><span class='hiddenx edit' id='editQ_descr_'>Edit</span></a> </div> </div> <div id='qIbox' style='margin-top:10px;border-top:1px #e9e9e9 solid'> <div style='margin-top:4px'><img src='http://xernt.com/tpl/i/i/ico/new.png' style='opacity:0.35;margin:2px 8px 0 0' alt=''/><!--<form method='post'> <input type='hidden' name='formName' value='f'/> <input type='hidden' name='id' value='128'/> <input type='hidden' name='type' value='p'/> <input type='hidden' name='xtype' value='2'/> <a href='http://xernt.com/login/p128' class='pointer i1m i1m_checked'><b>Follow Post</b></a> </form> <script type='text/javascript'>jQuery(function() {followQ();});</script>--> <span class='add_comment_sign128'> <a class='pointer comment_128_ c333'>Comment</a> <span class='dsc'> ·</span> <span class='highlight2 pointer comment_box none 128_' title='1 Post Comments'> <span style='margin:2px -2px 0'><img src='http://xernt.com/tpl/i/i/ico/pm_.png' alt='pm' class='icon_pm_' style='margin-left:4px;opacity:0.4'/><a class='pointer comment_block128_cnt c333'>1</a></span> </span> </span> <script type='text/javascript'>jQuery(function() {toggleCommentBox('128','');});</script> <span class='dsc'> · <span title='March 26, 2010 @ 09:30'>2 years ago</span></span></div> </div> </div> <div class='128'> <div class='comment_block comment_block128'> <div class='comment_top'></div> <div id='c43'> <div class='comment'> <div class='fit onmouseover1'> <div class='spacer'> <div style='margin:0 2px'><AndyPSV> black seo: use tool: "XRumer" - it sends and posts "spam" with your comments on boards (passes<br /> captcha), increases number of your back links drastically – <a href='http://xernt.com/_andypsv'>Andrzej Jeziorski</a>  <span class='dk' title='February 19, 2012 @ 20:39'>2 months ago</span> · <a rel128x43="Andrzej Jeziorski" class='pointer dk'>Reply</a></div> </div> </div> </div> </div> <div id='eComment43' class='noprint'> <form action='' method='post' id='cmntsForm43'> <div> <input type='hidden' name='editC' value='k'/> <input type="hidden" name="id" value="43"/> <input type="hidden" name="id_to" value=""/> <div class='comment'> <div class='edit_load_comment43'></div> <div class='edit_comment43'> <textarea name='comment' class='textarea' id='ecomment_43'><AndyPSV> black seo: use tool: "XRumer" - it sends and posts "spam" with your comments on boards (passes captcha), increases number of your back links drastically</textarea> </div> </div> </div> </form> </div> <!-- <noscript><input type='submit'/></noscript>--> </div> <div style='margin-bottom:2px'></div> <form action="" method='post' id='cForm128'> <input type='hidden' name='comment_type' value='p'/> <input type="hidden" name="id" value="128"/> <div class='comment' id='addNewComment128'> <div class='fit comment_mark' style='padding:3px 5px'> Please <a href="http://xernt.com/login/p128">login</a> or <a href="http://xernt.com/">create an account</a> to post a comment. </div> </div> </form> </div> <script type='text/javascript'>jQuery(function() {saveComment('128','','p'); viewAllComments('128',''); });</script> </div> <div class='f'></div> </div> <div class='r _rtab' style='margin-top:8px'> <div style='width:238px;margin:0 0 14px 10px'> <div class='l' id='followQ128'><form method='post'> <input type='hidden' name='formName' value='f'/> <input type='hidden' name='id' value='128'/> <input type='hidden' name='type' value='p'/> <input type='hidden' name='xtype' value='2'/> <a href='http://xernt.com/login/p128' class='pointer i1m i1m_checked'><b>Follow Post</b></a> </form> <script type='text/javascript'>jQuery(function() {followQ();});</script></div> <div class='r'><a href='http://xernt.com/settings/setFont/medium' class='apply_image_opacity1' title='Change Font To Medium'><img src='http://xernt.com/tpl/i/i/ico/font_small.gif' alt='' title='' class='opacity04' style='width:20px'/></a></div> <div class='f'></div> </div> <script type='text/javascript'> function followQ() { $(document).on('click','#followQ128',function() { $('#formFollowQuestion').submit(); }); $('#formFollowQuestion').submit(function() { var $f = $(this); function _saved(_response) { $('#followQ128').html(_response); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('#followQ128').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:7px 0 9px"/>'); $.ajax({ url: "http://xernt.com/p128/0", type: "POST", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); } jQuery(function() { if(window.location.hash.substr(1) == 'answer') { setTimeout(function() { setFocusThickboxIframe('answer'); },100); } setTimeout(function() { setFocusThickboxIframe('answer'); },100); }); //jQuery(function() { $('textarea[name="answer"]').focus(); }); </script> <div class='_tabstop' style='margin-top:14px;margin-right:-8px'> Related Posts <!--<div class='r'> <span class='edit' style='font-weight:normal'>Edit</span></div>--> </div> <div class='_tab' style='margin-right:-10px;margin-top:5px'> <div class=''> <a href='http://xernt.com/How-to-understand-a-woman-What-are-differences-between-the-genders'><div class='mt3px' style='padding-right:10px;line-height:1.3'>How to understand a woman? What are differences between the genders?</div></a> </div> <div class=''> <a href='http://xernt.com/DRAGON-SKIN-body-armor'><div class='mt3px' style='padding-right:10px;line-height:1.3'>DRAGON SKIN body armor</div></a> </div> <div class=''> <a href='http://xernt.com/POINT-STORIES-About-security'><div class='mt3px' style='padding-right:10px;line-height:1.3'>POINT STORIES: About security</div></a> </div> <div class=''> <a href='http://xernt.com/How-to-change-the-time-we-wake-up-permanently'><div class='mt3px' style='padding-right:10px;line-height:1.3'>How to change the time we wake-up permanently?</div></a> </div> <div class=''> <a href='http://xernt.com/POINT-STORIES-Think-Twice'><div class='mt3px' style='padding-right:10px;line-height:1.3'>POINT STORIES: Think Twice</div></a> </div> <div class=''> <a href='http://xernt.com/POINT-STORIES-Karma'><div class='mt3px' style='padding-right:10px;line-height:1.3'>POINT STORIES: Karma</div></a> </div> <div class=''> <a href='http://xernt.com/How-to-Lose-20-Pounds-in-2-Weeks'><div class='mt3px' style='padding-right:10px;line-height:1.3'>How to Lose 20 Pounds in 2 Weeks</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/How-to-know-is-somebodys-listening-you'><div class='mt3px' style='padding-right:10px;line-height:1.3'>How to know is somebody's listening you?</div></a> </div> <a class='pointer a' id='showAllRelated'><div style='margin-top:4px'>See more related questions</div></a> <div class=' allRelated noprint'> <a href='http://xernt.com/POINT-STORIES-Never-try-to-impress-anybody-overdose-anything-ever'><div class='mt3px' style='padding-right:10px;line-height:1.3'>POINT STORIES: Never try to impress anybody & overdose anything ever</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/POINT-STORIES-Best-Teacher'><div class='mt3px' style='padding-right:10px;line-height:1.3'>POINT STORIES: Best Teacher</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/5-7-day-starvation-comparison-fat-levels'><div class='mt3px' style='padding-right:10px;line-height:1.3'>5-7 day starvation comparison (fat levels)</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/MATRIX-The-What-is'><div class='mt3px' style='padding-right:10px;line-height:1.3'>MATRIX, The? What is</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/To-LOSE-STOMACH-FAT'><div class='mt3px' style='padding-right:10px;line-height:1.3'>To LOSE STOMACH FAT</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/STARVATION-Hunger-Strike'><div class='mt3px' style='padding-right:10px;line-height:1.3'>STARVATION, Hunger Strike</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/FUCK-HOURS-becoming-fucker'><div class='mt3px' style='padding-right:10px;line-height:1.3'>FUCK HOURS, becoming "fucker"</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/Symptoms-of-falling-below-micro-power-035'><div class='mt3px' style='padding-right:10px;line-height:1.3'>Symptoms of falling below "µ" (power) ~ 0.35</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/Why-people-that-do-great-job-arent-mostly-rewarded-financially-and-those-who-sell-inferior-harmful-solutions-have'><div class='mt3px' style='padding-right:10px;line-height:1.3'>Why people that do great job aren't mostly rewarded financially and those who sell inferior, harmful solutions have "all the wealth"? Understanding the human psyche</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/Rules-to-live-by'><div class='mt3px' style='padding-right:10px;line-height:1.3'>Rules to live by</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/SUBCONSCIOUS-Mind-Mind-Power-Positive-thinking-reprogram-belief-system'><div class='mt3px' style='padding-right:10px;line-height:1.3'>SUBCONSCIOUS Mind, Mind Power, Positive thinking - reprogram belief system</div></a> </div> <div class=' allRelated noprint'> <a href='http://xernt.com/SEDUCE-LEO-men-leo-female-leo'><div class='mt3px' style='padding-right:10px;line-height:1.3'>SEDUCE LEO, men leo, female leo</div></a> </div> </div> <div style='margin:30px 0 0 10px'>2,517 views</div> <div style='border-top:1px #e9e9e9 solid;margin:30px 0 0 10px;padding:4px 0 0'><a href='http://xernt.com/announcement' class='a'>Announcement</a></div <br/><br/><br/> <div style='margin-left:10px'> <script type="text/javascript"><!-- google_ad_client = "ca-pub-8510869469623804"; /* path-of-power */ google_ad_slot = "4997011750"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </div> </div> </div> <div class='f'> </div> <script type='text/javascript'> function toggleCommentBox(id,id_to) { $('.'+id+id_to+'_').click(function() { $('.'+id+id_to+'').toggle(); $('#attachMessage'+id+'').hide(); }); $('.comment_'+id+id_to+'_').click(function() { $('.'+id+id_to+'').show(); $('#attachMessage'+id+'').hide(); $('#comment_'+id+id_to+'').focus(); }); } function insertToTextarea(id,id_to,comment_id) { $('a[rel'+id+id_to+comment_id+']').on('click', function() { //alert('a[rel'+id+id_to+']'); var t = $('#comment_'+id+id_to+'').get(0); if (t.value === "Write a comment...") { t.value = ""; } t.value += (t.value ? ' ' : '') + '@' + $(this).attr('rel'+id+id_to+comment_id+'') + ': '; t.focus(); t.selectionStart = t.selectionEnd = t.value.length; }); } function saveComment(id,id_to,module) { $('#cForm'+id+id_to+'').submit(function (e) { var $f = $(this); function _saved(serv_response) { serv_response = '<div>' + serv_response + '</div>'; $f.get(0).reset();$f.removeClass('error'); $(serv_response).hide().appendTo($('.comment_block'+id+id_to+'')).fadeIn(100); $('.add_load_comment'+id+id_to+'').hide(); $('.add_comment'+id+id_to+'').show(); $('.add_comment_sign'+id+id_to+'').load('http://xernt.com//ibox/'+ (id_to && module == 'q' ? 'cf' : 'acf') +'/'+id+'/'+id_to.substr(1)+'/'+module+''); $('input[type="submit"]').removeAttr('disabled'); jQuery('textarea').trigger('update'); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('.add_load_comment'+id+id_to+'').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:6px 0 0"/>'); $('.add_comment'+id+id_to+'').hide(); $.ajax({ url: "http://xernt.com/1/0", type: "post", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); } function editComment(id,id_,id_to) { $('#editComment'+id+'').click(function() { //$(document).on('click','#editComment'+id+'',function() { var t = $('#ecomment_'+id+'').get(0); $('#eComment'+id+'').show(); t.focus(); t.selectionStart = t.selectionEnd = t.value.length; $('#addNewComment'+id_+id_to+'').hide(); $('#c'+id+id_to+'').hide(); // SHIT, FUCK: this don't works: $('#c'+id+id_to+'').hide(); $('#ecomment_'+id+'').trigger('update'); // THIS DON'T WORKS!! }); $('#cmntsForm'+id+id_to+'').submit(function (e) { var $f = $(this); function _saved(serv_response) { serv_response = '<div>' + serv_response + '</div>'; $f.get(0).reset(); $('#c'+id+id_to+'').fadeIn(100,function() { $(this).html(serv_response); }); $('#eComment'+id+'').hide(); $('#addNewComment'+id_+id_to+'').show(); $('.edit_load_comment'+id+'').hide();// $('.edit_comment'+id+'').show(); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('.edit_load_comment'+id+'').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:6px 0 0"/>'); $('.edit_comment'+id+id_to+'').hide(); $.ajax({ url: "http://xernt.com/1/0", type: "post", data: $f.serialize() }).done(_saved).fail(err_saving); //if(id_to.length > 0) { id_ = id_to; }<--- bad return false; }); } function viewAllComments(id,id_to) { $('#view_all_c'+id+id_to+'_').click(function() { $('#view_all_c'+id+id_to+'').empty().html('<div class="comment" style="padding-left:10px"><img src="http://xernt.com/tpl/i/i/ico/loader.gif" style="margin-top:6px" alt=""/></div>'); if(id_to.length > 0) { $('#view_all_c'+id+id_to+'').load('http://xernt.com//c/a/'+id+''); } else { $('#view_all_c'+id+id_to+'').load('http://xernt.com//c/p/'+id+''); } $('#view_all_c'+id+id_to+'_Hide').hide(); }); } function deleteItem(m,module,id,id_,id_to) { $('#delete'+module+id+'').click(function() { if(module == 'Draft') { $('#formDelete'+module+id+'').submit(); } else { //$(document).on('click','#delete'+module+id+'',function() { $( "#dialog-confirm" ).dialog({ width:450,autoResize:false,draggable:false,position:{my:'top',at:'top',of:$('#placeHolder-1a')},resizable:false,height:140,modal:true, buttons: { "Yes, delete items": function() { $('#formDelete'+module+id+'').submit(); $(this).dialog("close"); }, Cancel: function() { $(this).dialog("close"); } } }); } }); $('#formDelete'+module+id+'').submit(function() { var $f = $(this); function _saved(serv_response) { if(m == 'a') { $('input[type="submit"]').removeAttr('disabled'); $('#answer_cnt').show(); $('.add_comment_sign'+id_to.substr(1)+'').load('http://xernt.com//ibox/acf/'+id_to.substr(1)+'//q'); $('#sheduledDelete'+id+'').show(); $('#mn'+id+'').hide(); $('#editAnswer'+id+'').addClass('dsc'); $('#xeditAnswer').addClass('dsc'); } // $('#ajaxEditAnswer'+id+'').remove(); $('#qAlreadyAnswered').hide(); $('#addAnswerForm').show(); $('#add_answer_label').show(); $('#add_answer_img').show(); $('textarea[name="answer"]').focus(); if(m == 'p') { window.location.href='http://xernt.com/0100000/deleteQueue/posts/#last'; } if(m == 'c') { $('#'+m+id+id_to+'').remove(); $('.add_comment_sign'+id_+id_to+'').load('http://xernt.com//ibox/acf/'+id_+'/'+id_to.substr(1)+'/q'); } if(m == 'draft') { $('#draft'+id+'').hide(); $('._draft'+id).focus(); }//'._draft'+id+''.text('') $('input[type="submit"]').attr('disabled','disabled'); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $.ajax({ url: "http://xernt.com/1/0", type: "POST", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); }//$('#delete'+module+id+'').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:7px 0 -4px 0"/>'); function reverseDeletedItem(m,module,id,id_,id_to) { $('#xdelete'+module+id+'').click(function() { $('#xformDelete'+module+id+'').submit(); }); $('#xformDelete'+module+id+'').submit(function() { var $f = $(this); function _saved(serv_response) { if(m == 'a' || m == 'p') { $('#answer_cnt').show(); $('.add_comment_sign'+id_to.substr(1)+'').load('http://xernt.com//ibox/acf/'+id_to.substr(1)+'//q'); $('#sheduledDelete'+id+'').hide(); $('#mn'+id+'').show(); $('#xeditAnswer').removeClass('dsc'); $('#deleteScheduleBox'+id+'').hide(); } //if(m == 'p') { } } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('#xdelete'+module+id+'').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:7px 0 -4px 0"/>'); $.ajax({ url: "http://xernt.com/1/0", type: "POST", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); } function autosave_draft(id,fieldName,fieldDisable,module) { // need to add ID to each fields setInterval(function() { var $g = $('#'+fieldName).val(); if($g.length > 10 && $g != 'Write a post...') { $('#addSaveDraftButton'+id).show(); } if($g.length < 10) { $('#addSaveDraftButton'+id).hide(); } },1000); setInterval(function() { _autosave_draft(id,fieldName,fieldDisable,module); },60000); $(document).on('click','#saveDraft'+id,function() { _autosave_draft(id,fieldName,fieldDisable,module); }); } function _autosave_draft(id,fieldName,fieldDisable,module) { var $f = $('#'+fieldName).val(); var $fx = $('#'+fieldName); function _saved(serv_response) { $('#draft'+id).empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:7px 0 -4px 0"/>'); xerntPOP('#draft'+id,serv_response); $('.'+fieldDisable).removeAttr('disabled'); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } if($f.length > 10) { $('.'+fieldDisable).attr("disabled","disabled"); $.ajax({ url: "http://xernt.com/128/0/draft", type: "post", data: "&"+$fx.serialize() }).done(_saved).fail(err_saving);//$('#'+fieldName).serialize() ;;; title goes first; & then extract the data; return false; } } function setFocusThickboxIframe(name) { var iframe = $("#"+name+"_ifr")[0]; iframe.contentWindow.focus(); // NEED TO FOCUS ON LAST CHARACTER } </script><script type='text/javascript'> slideIt('showAllRelated','allRelated'); function slideIt(id,id_to) { $('#'+id+'').click(function() { $('.'+id_to+'').slideDown(250); $('#'+id+'').hide(); }); } $(document).on('click','#cancelQ',function() { $('#_editQ').hide(); $('#_editQ2').show(); $('#editQ').show(); }); disabledEmptySubmit('.textareaEditQ','.submitEditQ'); $('#formAnswer').submit(function (e) { var $f = $(this); var $fname = $('textarea[name="answer"]').get(0); function _saved(_response) { if(_response.substr(0,1) == '|') { $('#answerErr').show(); $('#__err').html(_response.substr(1)); $fname.focus(); $fname.selectionStart = $fname.selectionEnd = $fname.value.length; $('.submitedAnswer').show(); $('.preSubmitedAnswer').hide(); } else { _response = '<div>' + _response + '</div>'; $f.get(0).reset(); $('#answer_cnt').show(); $('.add_comment_sign128').load('http://xernt.com//ibox/acf/128//q'); $('html,body').animate({scrollTop:$("#newAnswer").offset().top},400); xerntPOP('#newAnswer',_response); $('#addAnswerForm').hide(); $('#qAlreadyAnswered').show(); $('.preSubmitedAnswer').hide(); $('.submitedAnswer').show(); $('#add_answer_img,#add_answer_label,#firstAnswerBr').hide(); } } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('.submitedAnswer').hide(); $('.preSubmitedAnswer').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:9px 0 0"/>'); $.ajax({ url: "http://xernt.com/128/0", type: "post", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); $('#formEditQ').submit(function (e) { $('.submitedQ').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:9px 0 0"/>'); }); function editQdescr() { $('#formEditQdescr').submit(function (e) { var $f = $(this); function _saved(serv_response) { //alert(serv_response); serv_response = '<div>' + serv_response + '</div>'; $f.get(0).reset(); xerntPOP('#ajaxEditQdescr',serv_response); $('#_editQdescr').hide(); $('#_editQ2').show(); $('#submitedQdescr').hide(); $('#_submitedQdescr').show(); $('#qIbox').show(); jQuery('textarea').trigger('update'); $('#sheduledDelete').hide(); $('#mn').show(); $('#xeditAnswer').removeClass('dsc'); } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('#submitedQdescr').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:9px 0 0"/>'); $('#_submitedQdescr').hide(); $.ajax({ url: "http://xernt.com/128/0", type: "post", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); $(document).on('click','#cancelQdescr',function() { $('#_editQdescr').hide(); $('#_editQ2').show(); $('#submitedQdescr').hide(); $('#_submitedQdescr').show(); $('#qIbox').show(); $('#editQdescr').show(); }); } function editAnswer(id) { $('#formEditAnswer'+id+'').submit(function (e) { var $f = $(this); function _saved(serv_response) { serv_response = '<div>' + serv_response + '</div>'; $f.get(0).reset(); xerntPOP('#ajaxEditAnswer'+id+'',serv_response); $('#_editAnswer'+id+'').hide(); $('#_edit2Answer'+id+'').show(); $('#submitedAnswer'+id+'').hide(); $('#_submitedAnswer'+id+'').show(); $('#qIbox'+id+'').show(); $('#sheduledDelete'+id+'').hide(); $('#mn'+id+'').show(); // if toDelete was 1 => +1 answer } function err_saving() { alert("Action failed. Please submit error manually by selecting 'Leave Feedback' on the bottom of the page."); } $('#submitedAnswer'+id+'').empty().html('<img src="http://xernt.com/tpl/i/i/ico/loader.gif" alt="" style="margin:9px 0 0"/>'); $('#_submitedAnswer'+id+'').hide(); $.ajax({ url: "http://xernt.com/128/0", type: "post", data: $f.serialize() }).done(_saved).fail(err_saving); return false; }); $(document).on('click','#cancelAnswer'+id+'',function() { $('#_editAnswer'+id+'').hide(); $('#_edit2Answer'+id+'').show(); $('#submitedAnswer'+id+'').hide(); $('#_submitedAnswer'+id+'').show(); $('#qIbox'+id+'').show(); $('#editAnswer'+id+'').show(); }); disabledEmptySubmit('.textareaAnswer'+id+'','.submitEditAnswer'+id+''); } </script> </div> </div> <!--< if _sOFF == 1 >< strip >< /if >--> </div> </div> </div> <div class='content'> <div class='f'> </div> <!----><div style='position:relative;z-index:9999999999999;margin-top:54px'> <div class="footer2"> <div class="l copyright" style='margin-right:45px'>xernt.com © 2012  <a href='http://cocaincorp.com' target='_blank' class='mlow'>COCAINCORP™</a></div> <div class='l visible1'>131 online</div> <div class="r"> <a href="http://xernt.com/about" title="About">About</a> · <a href="http://xernt.com/blog" title="Blog">Blog</a> · <a href="http://xernt.com/explore" title="Explore">Explore</a> · <a href="http://xernt.com/privacy" title="Privacy">Privacy</a> · <a href="http://xernt.com/terms" title="Terms">Terms</a> · <a href="http://xernt.com/help" title="Help">Help</a>  <a href='#'><img src='http://xernt.com/tpl/i/i/ico/up.gif' alt='up'/></a> </div> </div><!-- AND $module == 'q'--></div> </div> <div class='f'></div> <div id="dialog-confirm" class='noprint' title="Delete those items?"> <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p> </div> </body> </html>