Hi, what does this mean? Parse error: syntax error, unexpected T_VARIABLE in /home/nitpoker/public_html/tmblueprints/include/common.php on line 13 and how can i fix it?
<?php $config = array(); global $config; /* GENERAL DECLARATIONS */ $config['baseurl'] = 'http://www.tmblueprints.com'; // The actual location of openlistings on the machine -- leave off the trailing slash $config['basepath'] = '/home/nitpoker/public_html/tmblueprints' $config['admin_name'] = ''; // Your name -- all email will come from this name $config['admin_email'] = 'tiam.feridoni@gmail.com'; // all email which is sent from the site will come from this address $config['site_title'] = 'TM-Main site-template,logos,banners, and much more'; // Site title /* DATABASE SETTINGS */ global $db_type; $db_type = 'mysql'; $db_user = '********'; //database user $db_password = '******'; //database password $db_database = '******'; //database definition file $db_server = 'localhost'; //database server /* LANGUAGE SETTINGS You can use anthing you want in the value. But you should have one name.php file in the language directory. Means If you chose 'en' then in the language folder you should have en.php file. There is a dummy file lang.php which you can edit and change to your name. */ $config['language']='en'; /* LOCATION OF SEVERAL FOLDERS */ $config['template_path'] = $config['basepath'].'/template'; // leave off the trailing slashes $config['template_url'] = $config['baseurl'].'/template'; // leave off the trailing slashes $config['template_upload_path']=$config['basepath'].'/thetemplates'; $config['template_upload_url']=$config['baseurl'].'/thetemplates'; $config['secure_upload_path']=$config['basepath'].'/secure'; //the templates will be stored here $config['customer_download_path']=$config['basepath'].'/cstomer'; //the templates will be stored here $config['customer_download_url']=$config['baseurl'].'/cstomer'; //the templates will be stored here /* TEMPLATE SETTINGS */ $config['listings_per_page'] = 6; //number of listings to show on one page: $config['s_p_p']=5; //number of special templates shown per page $config['add_linefeeds'] = 'yes'; // convert returns to line feeds? yes or no $config['money_sign'] = '$'; // default is dollars, but it could be "£" for pounds or "€" for euros $config['show_no_photo'] = 'yes'; // if a listing doesn't have a photo, should it use the /images/nophoto.gif instead? /* SPECIAL USER WHO SIGNED UP SETTINGS */ $config['duration']='60'; //For how many months they are member $config['s_fee']='50'; //Signup fee for duration $config['affiliate_comission_sp']='20'; //affiliate comission for this type of signup $config['sp_upload_path']=$config['basepath'].'/sptemplates'; $config['sp_upload_url']=$config['baseurl'].'/sptemplates'; /* UPLOAD SETTINGS */ $config['max_upload_size'] = '100000'; // (in bytes) $config['max_upload_width'] = '450'; // max width (in pixels) $config['max_upload_height']='600'; // max width (in pixels) $config['allowed_upload_extensions'] = array('jpg','gif','png','fla','zip','rar','swf'); //possible allowed file extensions $config['make_thumbnail'] = 'no'; // use an external thumbnailing tool to resize images $config['thumbnail_width'] = '170'; // max width (in pixels) of thumbnails /* This line is for GD Lib Image Support */ $config['gd_version']='2.5'; $config['path_to_thumbnailer'] = $config['basepath'].'/include/thumbanil_gd.php'; // path to the thumnailing tool $config['path_to_resizer'] = $config['basepath'].'/include/resizer_gd.php'; // path to the thumnailing tool $config['strip_html'] = 'yes'; // Should HTML be stripped out of listings? yes or no $config['allowed_html_tags'] ='<a><b><i><u><br>'; // which html tags can a person inp /* These two lines are for ImageMagick Support */ //$config['path_to_thumbnailer'] = $config['basepath'].'/include/thumbnail_imagemagick.php'; // path to the thumnailing tool //$config['path_to_imagemagick'] = '/usr/X11R6/bin/convert'; // path to the convert tool, OPTIONAL! (Fill this only if you use ImageMagick) /* AFFILIATE SECTION */ $new_affiliate_signup_mail_subject = "Welcome to TM-Template Seller"; $new_affiliate_signup_mail_header = "Welcome to TM-Template Seller"; $new_affiliate_signup_mail_footer = "Thanks for using TM-Template Seller affiliate program."; $suspended_mail_subject="Your account suspended"; $suspended_mail_body_header="This is an urgent message from TM-Template Seller "; $suspended_mail_body_footer="This mail was automatically sent from TM-Template Seller"; $deleted_mail_subject="Your account has been deleted"; $deleted_mail_body_header="This is an urgent message from TM-Template Seller"; $deleted_mail_body_footer="This mail was automatically sent from TM-Template Seller"; $reactivated_mail_subject="Your account has been re-activated"; $reactivated_mail_body_header="This is an urgent message from TM-Template Seller"; $reactivated_mail_body_footer="This mail was automatically sent from TM-Template Seller"; $config['affiliate_comission']='25'; //affiliate comission percentage $config['designer_comission']='40'; //designer comission percentage /* PAYPAL SETTINGS CURRENCY: 1='USD',2='GBP',3='EUR',4='CAD',5='JPY' */ $config['paypal_receiver_email']='tiam@dal.ca'; //paypal e-mail address $config['paypal_error_email']='tiam@dal.ca'; //Any fraud attemp will be sent to this. $config['paypal_currency']='USD'; $config['paypal_fee']='0'; $config['check_fee']='1.5'; $config['bank_fee']='5'; $config['min_withdraw_amount']='10'; //This is the minimum withdraw amount what a //user can request. /* 2CHECKOUT SETTINGS */ $config['check_id'] = '11'; //ENTER YOUR 2CHECKOUT ID /* DON'T TOUCH HERE */ include($config['basepath'].'/include/adodb/adodb.inc.php'); $conn = &ADONewConnection($db_type); $conn->PConnect($db_server, $db_user, $db_password, $db_database); ?> PHP: here is the code.