true, 'input_shortener.php' => true, 'menus.php' => true, 'contact_form.php' => true, 'slideshows.php' => true, 'svg_icons.php' => true, 'log_in_form.php' => true, 'news_feed.php' => true, 'news_feed_pages.php' => true, 'event_feed.php' => true, 'rss_news_feed.php' => true, 'sidebars.php' => false, 'search_box.php' => true, 'dayCountdown.php' => true, 'classified_ad_feed.php'=> true, //Javascript Fixer Functions 'equal_height.js' => true, 'formatPhoneLink.js' => true, 'itemSlider.js' => true, 'linkConverter.js' => true, 'navPadder.js' => true, 'user_image_hw_fix.js' => true, 'vcenter.js' => true ); $news_options = array( 'number_of_news_items' => '5', //# or F - #: Sets the amount of events to display; F: no limit - show all upcoming events 'num_of_buttons' => '7', // sets the limit of numbered buttons on news_feed_pages, must be an odd number and must be 3 or greater 'buttons_float' => true, // true - buttons follow the bottom of the news articles, false - buttons stay in fixed position - does not effect mobile display, mobile = always float 'desc_text_limit' => '130', //# or F - Sets the amount of characters for the description, or false for no limit 'desc_text_hard_break' => false, //T or F - T: breaks description exactly at limit; F: breaks description after space following limit 'desc_strip_tags' => true, //T or F - T: Strips everything except
; F: gives raw description 'read_more_link' => 'Read more', //String or F - Sets the text for the "more" button; F: does not show a "read more" button/link 'title_as_link' => true, //T or F - Display the title as a link 'open_links_in_new_tab' => true, //T or F - T: Opens title and "more" links in new tab, F: opens title/"more" links in current tab 'format_month' => 'F', //See PHP's date() functionality 'format_day' => 'l', //--http://php.net/manual/en/function.date.php 'format_year' => 'Y', 'format_full_date' => 'F j, Y', 'template_file' => 'news_template.php', //File Name - This file has the HTML and CSS for one event item. Create it and store it in the public_html folder 'news_categories' => array() //array - make it like this 'category number' ,'category number' etc of accepted categories. Get them from inspecting news cats. ); $event_options = array( 'number_of_events' => '6', //# or F - #: Sets the amount of events to display; F: no limit - show all upcoming events 'desc_text_limit' => '90', //# or F - Sets the amount of characters for the description, or false for no limit 'desc_text_hard_break' => false, //T or F - T: breaks description exactly at limit; F: breaks description after space following limit 'desc_strip_tags' => true, //T or F - T: Strips everything except
; F: gives raw description 'read_more_link' => false, //T or F - Turns the default Read More link on or off 'read_more_label' => 'Read More', //String - Sets the display text for the read more link. 'title_as_link' => true, //T or F - Display the title as a link 'open_links_in_new_tab' => false, //T or F - T: Opens title and "more" links in new tab, F: opens title/"more" links in current tab 'format_month' => 'M', //See PHP's date() functionality 'format_day' => 'd', //--http://php.net/manual/en/function.date.php 'format_year' => 'Y', 'format_full_date' => 'M j Y', 'template_file' => 'events_template.php', //File Name - This file has the HTML and CSS for one event item. Create it and store it in the public_html folder 'cal_type' => array(), //array - This MUST be an array if used. Look up your cal types, and add the numbers surrounded by asterisks for the categories you wish to display - e.g. ['*123*', '*187*', '*404*'] 'highlight_class' => 'ev-highlight', //CSS Class - Set a class for highlights - an option from the calendar admin. If set, this class will be added to any events the admin specifies with the "highlight" option in news manager ); //Don't worry about the stuff below this line $lc_org_id = strtolower($org_id); $PTR = '/home/'.$lc_org_id.'/public_html/'; $PTR = '/home/'.$lc_org_id.'/public_html/'; if($host_number<5){ $host = ''; } else { $host = 'host'.$host_number.'.'; } //all about that base $ssl_base = 'https://'.$host.'viethwebhosting.com/~'.$lc_org_id.'/'; $base = 'http://'.$host.'viethwebhosting.com/~'.$lc_org_id.'/'; if($site_is_a_redesign == true){ $base = 'http://'.$their_domain.'/'.$redesign_menu_addon.'/'; $ssl_base = $ssl_base.$redesign_menu_addon.'/'; } if($site_is_live){ if(isset($_SERVER['HTTPS'])){ $ssl_base = 'https://'.$their_domain.'/'; $base = $ssl_base; } else { $base = 'http://'.$their_domain.'/'; } } if(isset($_SERVER['HTTPS'])){ $base = $ssl_base; } //domain and server name items if($site_is_live == true || $site_is_a_redesign == true){ $domain = $their_domain; if($site_is_a_redesign){ //$domain .= '/'.$redesign_menu_addon; } } else { $domain = $host.'viethwebhosting.com/~'.$lc_org_id; } if($ucc == true){ $server_name = 'mms.'.$domain; } if($site_is_live == true && $site_is_a_redesign == false){ $redesign_menu_addon = ''; } $calpref = 'list'; $top_left_div_feed = "announcements.htm"; ?> $org_id, 'username' => $username, 'password' => $password ); $data = curl_exec($ch); curl_close($ch); ?>