Welcome to '.$Domain.'. If you continue to browse and use this website you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern '.$Domain.'\'s relationship with you in relation to this website.

The term '.$Domain.' or \'us\' or \'we\' refers to the owner of the website. The term \'you\' refers to the user or viewer of our website. The use of this website is subject to the following terms of use:

'; if(get_option('wp_insert_terms_conditions_content') == "") { add_option("wp_insert_terms_conditions_content", $TermsandConditionsText, '', 'yes'); } add_shortcode('Terms', 'wp_insert_terms_conditions_shortcode'); function wp_insert_terms_conditions_shortcode() { return get_option('wp_insert_terms_conditions_content'); } function wp_insert_terms_conditions_page() { if(isset($_GET["assign"])) { $my_post = array(); $my_post['ID'] = $_GET["assign"]; $my_post['post_content'] = '[Terms]'; wp_update_post($my_post); header("Location: ".get_bloginfo('url')."/wp-admin/admin.php?page=manage-terms-and-conditions"); } else if(isset($_GET["create"])) { $my_post = array(); $my_post['post_title'] = 'Terms and Conditions'; $my_post['post_content'] = '[Terms]'; $my_post['post_status'] = 'publish'; $my_post['post_author'] = 1; $my_post['post_type'] = 'page'; wp_insert_post($my_post); header("Location: ".get_bloginfo('url')."/wp-admin/admin.php?page=manage-terms-and-conditions"); } else if(isset($_GET["reset"])) { $Domain = str_replace('', "www.", $_SERVER['HTTP_HOST']); $TermsandConditionsText = '

Welcome to '.$Domain.'. If you continue to browse and use this website you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern '.$Domain.'\'s relationship with you in relation to this website.

The term '.$Domain.' or \'us\' or \'we\' refers to the owner of the website. The term \'you\' refers to the user or viewer of our website. The use of this website is subject to the following terms of use:

'; update_option("wp_insert_terms_conditions_content", $TermsandConditionsText); header("Location: ".get_bloginfo('url')."/wp-admin/admin.php?page=manage-terms-and-conditions"); } global $screen_layout_columns; add_meta_box('wp_insert_edit_terms_conditions', 'Finetune your Terms and Conditions', 'wp_insert_edit_terms_conditions_HTML', 'col_1'); add_meta_box('wp_insert_edit_assign_terms_conditions_page', 'Assign Page for manage-terms-and-conditions', 'wp_insert_edit_assign_terms_conditions_page_HTML', 'col_1'); $parameters = 'wp_insert_terms_conditions_content'; wp_insert_settings_page_layout($parameters, 'WP-INSERT : manage-terms-and-conditions', 'terms'); } function wp_insert_edit_assign_terms_conditions_page_HTML() { ?>

Assign as Terms and Conditions page : Assign Now

OR

Create Terms and Conditions Page Automatically : " class="button-secondary">Create Now

" class="button-secondary alignright">Reset

This is an automatically generated "Terms and Conditions".