|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 123
Members: 0
Total: 123
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Im incredibly douchie |
|
Posted: Wed May 02, 2012 12:57 pm |
|
|
fux0r360 |
Active user |
|
|
Joined: Apr 25, 2010 |
Posts: 25 |
|
|
|
|
|
|
|
I realize Im a douche bag and Im coming to terms with it. But I am not comprehending this:
Code: | <?php
/**
* Framework General Variables and directory paths
*/
require('update-notifier.php'); // Theme updates notification
define('FRAMEWORK', '2.0'); // Framework Version
define('THEMENAME', 'Victoria'); // Theme name
/**
* Please refrain from editing this file
* Required Variables Globally in the theme
*/
$atp_breadcrumbs = get_option('atp_breadcrumbs');
$atp_singlenavigation = get_option('atp_singlenavigation');
$relatedposts = get_option('atp_relatedposts');
$atp_singlefeaturedimg = get_option('atp_singlefeaturedimg');
$aboutauthor = get_option('atp_aboutauthor');
$atp_teaser = get_option('atp_teaser');
$atp_timthumb = get_option('atp_timthumb');
$readmoretxt = get_option('atp_readmore_text') ? get_option('atp_readmore_text'):'Read More';
$reservationleftsidetext = get_option('atp_reservationleftsidetext') ? get_option('atp_reservationleftsidetext'):'Select the date for your reservation:';
$reservationinformationtext = get_option('atp_reservationinformationtext') ? get_option('atp_reservationinformationtext'):'Reservation Information:';
$priceperserving= get_option('atp_priceperserving') ? get_option('atp_priceperserving'):'Price Per Serving:';
$comments = get_option('atp_commentstemplate');
$themename = THEMENAME;
// Post Excerpt Character Custom Length
function excerpt($num) {
$link = get_permalink();
$ending = get_option('wl_excerpt_ending');
$limit = $num+1;
$excerpt = explode(' ', get_the_excerpt(), $limit);
array_pop($excerpt);
$excerpt = implode(" ",$excerpt).$ending;
echo $excerpt;
}
/**
* Excludes categories for custom post type tags archive
*/
add_filter('pre_get_posts', 'query_post_type');
function query_post_type($query) {
if ( is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
$post_type = get_query_var('post_type');
if($post_type)
$post_type = $post_type;
else
$post_type = array('post','menus');
$query->set('post_type',$post_type);
return $query;
}
}
/**
* Set the file path based on whether the Options Framework is in a parent theme or child theme
* Directory Structure
*/
define('FUNCTIONS_PATH', STYLESHEETPATH . '/framework/');
define('CUSTOM_META', FUNCTIONS_PATH . '/custom-meta/');
define('CUSTOM_PLUGINS', FUNCTIONS_PATH . 'custom-plugins/');
define('CUSTOM_POST', FUNCTIONS_PATH . 'custom-post/');
define('THEME_URI', get_template_directory_uri());
define('THEME_JS', THEME_URI . '/js');
define('THEME_CSS', THEME_URI . '/css');
define('SHORTCODES', FUNCTIONS_PATH . 'shortcode/');
define('ATP_FILEPATH', STYLESHEETPATH);
define('ATP_DIRECTORY', get_stylesheet_directory_uri());
$functions_path = ATP_FILEPATH . '/framework/admin/'; // Theme Admin Folder folder path
$icon = get_template_directory_uri() . '/framework/admin/images/at_icon.jpg'; // Icon for theme admin menu
/**
* Admin Interface - theme options/ advance options / general options
* These files build out the options interface.
* Please refraine from editing the below section.
*/
require_once(ATP_FILEPATH . '/framework/admin/admin-interface.php'); // Admin Interfaces (options,framework, seo)
require_once(ATP_FILEPATH . '/framework/admin/theme-options.php');
require_once(ATP_FILEPATH . '/framework/admin/admin-functions.php');
if(isset($_GET['page']) == 'advance') {
require_once(ATP_FILEPATH . '/framework/admin/advance-options.php');
}
/**
* Custom Post Type Files
* Post Types : slider,menus,reservation
* #Slider : required for Frontpage featured item presentation
* #Menus : custom food items and menutypes management
* #Reservation: Custom tables and booking reservations
*/
require_once(CUSTOM_POST . 'slider.php');
require_once(CUSTOM_POST . 'menus.php');
require_once(CUSTOM_POST . 'reservations.php');
/**
* These files build out the theme specific options and associated functions.
* Options panel settings and custom settings
* header.php - Theme header functions
* common.php - common functions
* image_resize.php - image resize functions
* filter.php - Filter for multiple taxonomy
* twitter.php - twitter functions
* pagination.php - pagination functions
* custom_comments.php - custom threaded comments
* shortcode.php - shortcodes files determination
* custom_widgets.php - custom widgets
* breadcrumb.php - breadcrumb functions
* breadcumb-plus.php - breadcrumb Plugin file
*/
require_once(FUNCTIONS_PATH . 'function_header.php');
require_once(FUNCTIONS_PATH . 'common.php');
require_once(FUNCTIONS_PATH . 'image_resize.php');
require_once(FUNCTIONS_PATH . 'filter.php');
require_once(FUNCTIONS_PATH . '/includes/twitter.php');
require_once(FUNCTIONS_PATH . '/includes/pagination.php');
require_once(FUNCTIONS_PATH . 'custom_comment.php');
require_once(FUNCTIONS_PATH . 'shortcode.php');
require_once(FUNCTIONS_PATH . 'custom_widget.php');
require_once(FUNCTIONS_PATH . 'breadcrumb.php');
require_once(CUSTOM_PLUGINS . 'breadcrumbs-plus/breadcrumbs-plus.php');
/**
* Custom Meta Boxes
*/
require_once(CUSTOM_META . 'shortcode-meta.php'); // Shortcodes
require_once(CUSTOM_META . 'page-meta.php'); // Pages
require_once(CUSTOM_META . 'post-meta.php'); // Posts
require_once(CUSTOM_META . 'menus-meta.php'); // Food Menus
require_once(CUSTOM_META . 'slider-meta.php'); // Slider
require_once(CUSTOM_META . 'reservation-meta.php'); // Reservations
require_once(CUSTOM_META . 'fields.class.php'); // All Field Class & Metabox
/**
* enqueues the admin javascript files for admin user interface
* @file - script.js
* @file location - /framework/admin/js/
*/
add_action('admin_init', 'theme_admin_add_script');
function theme_admin_add_script() {
wp_enqueue_script('theme-script', ATP_DIRECTORY . '/framework/admin/js/script.js');
}
/**
* enqueues the metacss.css for custom meta boxes
* @file - metacss.css
* @file location - framework/admin/css/
*/
add_action('init', 'theme_enqueue_metacss');
function theme_enqueue_metacss()
{
if(is_admin()){
wp_enqueue_style('meta-css', ATP_DIRECTORY . '/framework/admin/css/metacss.css');
}
}
/**
* Allows shortcodes in sidebar widgets / Text widget
* Content with shortcodes replaced by the output from the shortcode's handler(s).
*/
add_filter('widget_text', 'do_shortcode');
/**
* Loads the theme's translated strings.
* SET THEME LANGUAGES DIRECTORY
* Theme translations can be filed in the themename/languages/ directory
* Wordpress translations can be filed in the wp-content/languages/ directory
*/
if (function_exists('load_theme_textdomain')) {
load_theme_textdomain('victoria_front', get_template_directory().'/languages');
}
/**
* code that executes when theme is being activated
*/
if ( is_admin() && isset($_GET['activated'] ) && $pagenow == 'themes.php' && get_option('atp_default_template_option_values','defaultoptionsnotexists') =='defaultoptionsnotexists'){
$default_option_values = 'YToxNzM6e3M6ODoiYXRwX2xvZ28iO3M6NTg6Imh0dHA6Ly93d3cuYWl2YWh0aGVtZXMuY29tL3ZpY3RvcmlhL2ZpbGVzLzIwMTEvMTIvTG9nby5wbmciO3M6MTg6ImF0cF9jdXN0b21fZmF2aWNvbiI7czowOiIiO3M6MTA6ImF0cF90ZWFzZXIiO3M6NzoidHdpdHRlciI7czoxODoiYXRwX3RlYXNlcl90d2l0dGVyIjtzOjEzOiJzeXN0ZW0zMnN0b3JlIjtzOjE3OiJhdHBfdGVhc2VyX2N1c3RvbSI7czowOiIiO3M6MTU6ImF0cF9icmVhZGNydW1icyI7czoyOiJvbiI7czoxMjoiYXRwX3RpbXRodW1iIjtzOjI6Im9uIjtzOjE2OiJhdHBfY29udGFjdGVtYWlsIjtzOjA6IiI7czoxNDoiYXRwX2dtYXBhcGlrZXkiO3M6ODY6IkFCUUlBQUFBSzY5aHliSHctU0tOSFV4V2l3U1JMaFM3eFpSQVNMMk5zMmpmLTBOejAwRHZFZkRSQlJRNlYwdVk5UWFucURycU5wU3ZwMGIyOWZXSnZRIjtzOjEyOiJhdHBfZXh0cmFjc3MiO3M6MDoiIjtzOjIwOiJhdHBfdGVhc2VyX2Zyb250cGFnZSI7czoyOiJvbiI7czoyNDoiYXRwX2Zyb250cGFnZXdpZGdldGNvdW50IjtzOjE6IjMiO3M6MTI6ImF0cF9ob21lcGFnZSI7czoxOiIyIjtzOjE2OiJhdHBfbGF5b3V0b3B0aW9uIjtzOjU6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mb3JtIHlvdSB0aGF0IHRoZSBzdGF0dXMgb2YgeW91ciByZXNlcnZhdGlvbiBhdCBbcmVzdGF1cmFudF9uYW1lXSBmb3IgW251bWJlcl9vZl9wZW9wbGVdIHBlb3BsZSBhdCBbcmVzZXJ2YXRpb25fdGltZV0gb24gW3Jlc2VydmF0aW9uX2RhdGVdIGhhcyBiZWVuIHVwZGF0ZWQuDQoNClRoZSBuZXcgcmVzZXJ2YXRpb24gc3RhdHVzIGlzICJbcmVzZXJ2YXRpb25fc3RhdHVzXSIuDQoNClNpbmNlcmVseSwNClRoZSBTdGFmZiBhdCBbcmVzdGF1cmFudF9uYW1lXS4iO3M6MjY6ImF0cF90ZW1wbGF0ZV9vcHRpb25fdmFsdWVzIjtzOjA6IiI7fQ==';
//add default values for the theme options
add_option( 'atp_default_template_option_values', $default_option_values, '', 'yes' );
atp_options();
update_option_values($options,unserialize(base64_decode($default_option_values)));
}
?> |
I posted the entire thing thinking that maybe something earlier in the file may be making it funky because I get some weird characters.
Here's the base64:
Code: | YToxNzM6e3M6ODoiYXRwX2xvZ28iO3M6NTg6Imh0dHA6Ly93d3cuYWl2YWh0aGVtZXMuY29tL3ZpY3RvcmlhL2ZpbGVzLzIwMTEvMTIvTG9nby5wbmciO3M6MTg6ImF0cF9jdXN0b21fZmF2aWNvbiI7czowOiIiO3M6MTA6ImF0cF90ZWFzZXIiO3M6NzoidHdpdHRlciI7czoxODoiYXRwX3RlYXNlcl90d2l0dGVyIjtzOjEzOiJzeXN0ZW0zMnN0b3JlIjtzOjE3OiJhdHBfdGVhc2VyX2N1c3RvbSI7czowOiIiO3M6MTU6ImF0cF9icmVhZGNydW1icyI7czoyOiJvbiI7czoxMjoiYXRwX3RpbXRodW1iIjtzOjI6Im9uIjtzOjE2OiJhdHBfY29udGFjdGVtYWlsIjtzOjA6IiI7czoxNDoiYXRwX2dtYXBhcGlrZXkiO3M6ODY6IkFCUUlBQUFBSzY5aHliSHctU0tOSFV4V2l3U1JMaFM3eFp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mVseSwNClRoZSBTdGFmZiBhdCBbcmVzdGF1cmFudF9uYW1lXS4iO3M6MTc6ImF0cF9zdGF0dXNzdWJqZWN0IjtzOjU4OiJbcmVzdGF1cmFudF9uYW1lXSA6IEJvb2tpbmcgSUQgW2Jvb2tpbmdfaWRdIFN0YXR1cyBDaGFuZ2VkIjtzOjEwOiJhdHBfc3RhdHVzIjtzOjMxNzoiRGVhciBbY29udGFjdF9uYW1lXSwgDQoNClRoaXMgaXMgYSBjb3VydGVzeSBlLW1haWwgdG8gaW5mb3JtIHlvdSB0aGF0IHRoZSBzdGF0dXMgb2YgeW91ciByZXNlcnZhdGlvbiBhdCBbcmVzdGF1cmFudF9uYW1lXSBmb3IgW251bWJlcl9vZl9wZW9wbGVdIHBlb3BsZSBhdCBbcmVzZXJ2YXRpb25fdGltZV0gb24gW3Jlc2VydmF0aW9uX2RhdGVdIGhhcyBiZWVuIHVwZGF0ZWQuDQoNClRoZSBuZXcgcmVzZXJ2YXRpb24gc3RhdHVzIGlzICJbcmVzZXJ2YXRpb25fc3RhdHVzXSIuDQoNClNpbmNlcmVseSwNClRoZSBTdGFmZiBhdCBbcmVzdGF1cmFudF9uYW1lXS4iO3M6MjY6ImF0cF90ZW1wbGF0ZV9vcHRpb25fdmFsdWVzIjtzOjA6IiI7fQ== |
|
|
|
|
|
|
|
|
|
Posted: Sun Jul 01, 2012 5:44 pm |
|
|
astra1993 |
Advanced user |
|
|
Joined: Jun 20, 2012 |
Posts: 125 |
|
|
|
|
|
|
|
It decodes into an array containing these values (var_dump'ed):
Code: |
array(173) {
["atp_logo"]=>
string(58) "http://www.aivahthemes.com/victoria/files/2011/12/Logo.png"
["atp_custom_favicon"]=>
string(0) ""
["atp_teaser"]=>
string(7) "twitter"
["atp_teaser_twitter"]=>
string(13) "system32store"
["atp_teaser_custom"]=>
string(0) ""
["atp_breadcrumbs"]=>
string(2) "on"
["atp_timthumb"]=>
string(2) "on"
["atp_contactemail"]=>
string(0) ""
["atp_gmapapikey"]=>
string(86) "ABQIAAAAK69hybHw-SKNHUxWiwSRLhS7xZRASL2Ns2jf-0Nz00DvEfDRBRQ6V0uY9QanqDrqNpSvp0b29fWJvQ"
["atp_extracss"]=>
string(0) ""
["atp_teaser_frontpage"]=>
string(2) "on"
["atp_frontpagewidgetcount"]=>
string(1) "3"
["atp_homepage"]=>
string(1) "2"
["atp_layoutoption"]=>
string(5) "boxed"
["atp_bodyproperties_image"]=>
string(0) ""
["atp_bodyproperties_color"]=>
string(0) ""
["atp_bodyproperties_style"]=>
string(6) "repeat"
["atp_bodyproperties_position"]=>
string(10) "center top"
["atp_bodyproperties_attachment"]=>
string(6) "scroll"
["atp_headerbg_image"]=>
string(0) ""
["atp_headerbg_color"]=>
string(0) ""
["atp_headerbg_style"]=>
string(9) "no-repeat"
["atp_headerbg_position"]=>
string(10) "center top"
["atp_headerbg_attachment"]=>
string(6) "scroll"
["atp_subheaderproperties_image"]=>
string(0) ""
["atp_subheaderproperties_color"]=>
string(0) ""
["atp_subheaderproperties_style"]=>
string(9) "no-repeat"
["atp_subheaderproperties_position"]=>
string(10) "center top"
["atp_subheaderproperties_attachment"]=>
string(6) "scroll"
["atp_logotextcolor"]=>
string(0) ""
["atp_frontteaserbg"]=>
string(7) "#DDF1F5"
["atp_wrapbg"]=>
string(0) ""
["atp_tabsbgcolor"]=>
string(0) ""
["atp_link"]=>
string(0) ""
["atp_linkhover"]=>
string(0) ""
["atp_subheaderlink"]=>
string(0) ""
["atp_subheaderlinkhover"]=>
string(0) ""
["atp_menubg"]=>
string(0) ""
["atp_mainmenufont_size"]=>
string(4) "12px"
["atp_mainmenufont_lineheight"]=>
string(4) "13px"
["atp_mainmenufont_face"]=>
string(5) "Arial"
["atp_mainmenufont_style"]=>
string(6) "normal"
["atp_mainmenufont_color"]=>
string(0) ""
["atp_navhoverbg"]=>
string(0) ""
["atp_navhoverlink"]=>
string(0) ""
["atp_subnavhover"]=>
string(0) ""
["atp_breadcrumbtext"]=>
string(0) ""
["atp_breadcrumblink"]=>
string(0) ""
["atp_breadcrumblinkhover"]=>
string(0) ""
["atp_sidebarbgcolor"]=>
string(0) ""
["atp_footerbgcolor"]=>
string(0) ""
["atp_footertextcolor"]=>
string(0) ""
["atp_footerheadingcolor"]=>
string(0) ""
["atp_footerlinkcolor"]=>
string(0) ""
["atp_footerlinkhovercolor"]=>
string(0) ""
["atp_copybgcolor"]=>
string(0) ""
["atp_copylinkcolor"]=>
string(0) ""
["atp_customtypo"]=>
string(2) "on"
["atp_bodyp_size"]=>
string(4) "12px"
["atp_bodyp_lineheight"]=>
string(4) "18px"
["atp_bodyp_face"]=>
string(5) "Arial"
["atp_bodyp_style"]=>
string(6) "normal"
["atp_bodyp_color"]=>
string(0) ""
["atp_h1_size"]=>
string(4) "30px"
["atp_h1_lineheight"]=>
string(4) "32px"
["atp_h1_face"]=>
string(11) "Droid Serif"
["atp_h1_style"]=>
string(6) "normal"
["atp_h1_color"]=>
string(0) ""
["atp_h2_size"]=>
string(4) "24px"
["atp_h2_lineheight"]=>
string(4) "27px"
["atp_h2_face"]=>
string(11) "Droid Serif"
["atp_h2_style"]=>
string(6) "normal"
["atp_h2_color"]=>
string(0) ""
["atp_h3_size"]=>
string(4) "20px"
["atp_h3_lineheight"]=>
string(4) "23px"
["atp_h3_face"]=>
string(11) "Droid Serif"
["atp_h3_style"]=>
string(6) "normal"
["atp_h3_color"]=>
string(0) ""
["atp_h4_size"]=>
string(4) "18px"
["atp_h4_lineheight"]=>
string(4) "20px"
["atp_h4_face"]=>
string(5) "Arial"
["atp_h4_style"]=>
string(6) "normal"
["atp_h4_color"]=>
string(0) ""
["atp_h5_size"]=>
string(4) "14px"
["atp_h5_lineheight"]=>
string(4) "17px"
["atp_h5_face"]=>
string(5) "Arial"
["atp_h5_style"]=>
string(6) "normal"
["atp_h5_color"]=>
string(0) ""
["atp_h6_size"]=>
string(4) "12px"
["atp_h6_lineheight"]=>
string(4) "14px"
["atp_h6_face"]=>
string(5) "Arial"
["atp_h6_style"]=>
string(11) "bold italic"
["atp_h6_color"]=>
string(0) ""
["atp_entrytitle_size"]=>
string(4) "18px"
["atp_entrytitle_lineheight"]=>
string(4) "24px"
["atp_entrytitle_face"]=>
string(11) "Droid Serif"
["atp_entrytitle_style"]=>
string(6) "normal"
["atp_entrytitle_color"]=>
string(0) ""
["atp_entrytitlelinkhover"]=>
string(0) ""
["atp_sidebartitle_size"]=>
string(4) "16px"
["atp_sidebartitle_lineheight"]=>
string(4) "16px"
["atp_sidebartitle_face"]=>
string(5) "Arial"
["atp_sidebartitle_style"]=>
string(6) "normal"
["atp_sidebartitle_color"]=>
string(0) ""
["atp_copyrights_size"]=>
string(4) "11px"
["atp_copyrights_lineheight"]=>
string(4) "20px"
["atp_copyrights_face"]=>
string(5) "Arial"
["atp_copyrights_style"]=>
string(6) "normal"
["atp_copyrights_color"]=>
string(0) ""
["atp_slidervisble"]=>
string(2) "on"
["atp_sliderbgprop_image"]=>
string(0) ""
["atp_sliderbgprop_color"]=>
string(0) ""
["atp_sliderbgprop_style"]=>
string(9) "no-repeat"
["atp_sliderbgprop_position"]=>
string(10) "center top"
["atp_sliderbgprop_attachment"]=>
string(6) "scroll"
["atp_slider"]=>
string(11) "cycleslider"
["atp_cycleslidelimit"]=>
string(1) "3"
["atp_video_id"]=>
string(139) "<iframe width="1020" height="400" src="http://www.youtube.com/embed/GgR6dyzkKHI?wmode=transparent" frameborder="0" wmode="Opaque"></iframe>"
["atp_static_image_upload"]=>
string(69) "http://www.aivahthemes.com/victoria/files/2011/12/victoria_slide1.png"
["atp_static_link"]=>
string(1) "#"
["atp_aboutauthor"]=>
string(2) "on"
["atp_relatedposts"]=>
string(2) "on"
["atp_commentstemplate"]=>
string(5) "posts"
["atp_singlenavigation"]=>
string(2) "on"
["atp_singlefeaturedimg"]=>
string(2) "on"
["atp_blogacats"]=>
array(1) {
[0]=>
string(1) "1"
}
["atp_psd_imgheight"]=>
string(0) ""
["atp_ps1_imgheight"]=>
string(0) ""
["atp_ps2_imgheight"]=>
string(0) ""
["atp_ps3_imgheight"]=>
string(0) ""
["atp_customsidebar"]=>
array(1) {
[0]=>
string(10) "customhome"
}
["atp_teaser_footer"]=>
string(2) "on"
["atp_teaser_footer_text"]=>
string(108) "<h3 align="center">Footer Teaser Area : Custom HTML and Text that will appear above the sidebar footer.</h3>"
["atp_footer_sidebar"]=>
string(2) "on"
["atp_footerwidgetcount"]=>
string(1) "4"
["atp_googleanalytics"]=>
string(0) ""
["atp_copyright"]=>
string(143) "© 2010-2011 Victoria Restaurant Wordpress Theme <br>All Rights Reserved : <a href="#">Terms & Conditions</a> | <a href="#">Privacy Policy</a> "
["sys_social_file_icon"]=>
string(14) "youtube_16.png"
["atp_social_bookmark"]=>
string(393) "Orkut#|addthis_16.png#|##;twitter#|aim_16.png#|##;facebook#|bookmark_16.png#|##;title#|designbump_16.png#|##;title#|digg.png#|##;title#|facebook_16.png#|##;title#|flickr_16.png#|##;title#|google-buzz_16.png#|##;title#|myspace_16.png#|##;title#|reddit_16.png#|##;title#|rss_16.png#|##;title#|stumbleupon_16.png#|##;title#|technorati_16.png#|##;title#|twitter_16.png#|##;title#|youtube_16.png#|#"
["atp_stickybar"]=>
string(2) "on"
["atp_stickycontent"]=>
string(27) "Sticky Bar Notes goes here!"
["atp_stickybarcolor"]=>
string(0) ""
["atp_cufon"]=>
string(4) "luna"
["atp_readmore_text"]=>
string(13) "Read more →"
["atp_postedin"]=>
string(2) "In"
["atp_text_separator"]=>
string(0) ""
["atp_bytxt"]=>
string(2) "By"
["atp_error404txt"]=>
string(32) "Oops! Browse through the sitemap"
["atp_searchformtxt"]=>
string(0) ""
["atp_bookingpage"]=>
string(2) "15"
["atp_timeformat"]=>
string(2) "24"
["atp_reservationformtxt"]=>
string(18) "Make a Reservation"
["atp_sunday_opening"]=>
string(5) "06:00"
["atp_sunday_closing"]=>
string(5) "08:00"
["atp_sunday_close"]=>
string(2) "on"
["atp_monday_opening"]=>
string(5) "08:00"
["atp_monday_closing"]=>
string(5) "23:00"
["atp_tuesday_opening"]=>
string(5) "10:00"
["atp_tuesday_closing"]=>
string(5) "23:00"
["atp_wednesday_opening"]=>
string(5) "11:00"
["atp_wednesday_closing"]=>
string(5) "22:00"
["atp_thursday_opening"]=>
string(5) "11:00"
["atp_thursday_closing"]=>
string(5) "22:00"
["atp_friday_opening"]=>
string(5) "10:00"
["atp_friday_closing"]=>
string(5) "22:00"
["atp_saturday_opening"]=>
string(5) "01:00"
["atp_saturday_closing"]=>
string(5) "23:00"
["atp_booking_thankyou_msg"]=>
string(87) "Thank you! Your Reservation has booked and you will be contacted soon for confirmation."
["atp_confirmsubject"]=>
string(51) "[restaurant_name] : Booking Request ID [booking_id]"
["atp_confirm"]=>
string(274) "Dear [contact_name]
Thank you for your reservation at [restaurant_name] for [number_of_people] people at [reservation_time] on [reservation_date].
Your confirmation for reservation will be done on phone via our staff soon.
Sincerely,
The Staff at [restaurant_name]."
["atp_statussubject"]=>
string(58) "[restaurant_name] : Booking ID [booking_id] Status Changed"
["atp_status"]=>
string(317) "Dear [contact_name],
This is a courtesy e-mail to inform you that the status of your reservation at [restaurant_name] for [number_of_people] people at [reservation_time] on [reservation_date] has been updated.
The new reservation status is "[reservation_status]".
Sincerely,
The Staff at [restaurant_name]."
["atp_template_option_values"]=>
string(0) ""
}
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|