please help me i got this error
Parse error: syntax error, unexpected ';' in /home/ps3gamer/domains/ps3gameroom.net/public_html/index.php on line 20
here my index.php file
Parse error: syntax error, unexpected ';' in /home/ps3gamer/domains/ps3gameroom.net/public_html/index.php on line 20
here my index.php file
Code:
<?php
// setup includes
require_once('includes/master.inc.php');
// make sure this is the main site, only uploads on the main site are permitted
mainSiteAccessOnly();
// setup page
define("PAGE_NAME", t("index_page_name", "Upload Files"));
define("PAGE_DESCRIPTION", t("index_meta_description", "Upload, share, track, manage your files in one simple to use file host."));
define("PAGE_KEYWORDS", t("index_meta_keywords", "upload, share, track, file, hosting, host"));
// check for file deletions & accounts to downgrade. This can be moved to a cron if required. It will only run checks every hour as-is.
downgradePaidAccounts();
deleteRedundantFiles();
// max allowed upload size & max permitted urls
$maxUploadSize = SITE_CONFIG_FREE_USER_MAX_UPLOAD_FILESIZE;
$maxPermittedUrls = (int) SITE_CONFIG_FREE_USER_MAX_REMOTE_URLS;
if ($Auth& ?>/add_small.gif" height="1" width="1"/>
<img src="<?php echo SITE_IMAGE_PATH; ?>/red_error_small.png" height="1" width="1"/>
<img src="<?php echo SITE_IMAGE_PATH; ?>/green_tick_small.png" height="1" width="1"/>
<img src="<?php echo SITE_IMAGE_PATH; ?>/blue_right_arrow.png" height="1" width="1"/>
<img src="<?php echo SITE_IMAGE_PATH; ?>/processing_small.gif" height="1" width="1"/>
</div>
<?php
if($Auth->level === 'admin')
{
?>
<div id="tabs" class="homeTabs">
<ul>
<li><a href="#fileUpload"><?php echo UCWords(t('file_upload', 'file upload')); ?></a></li>
<li><a href="#urlUpload"><?php echo UCWords(t('remote_url_upload', 'remote url upload')); ?></a></li>
<?php
// append any plugin includes
pluginHelper::includeAppends('ieinput-button">
<span><?php echo t('add_files', 'Add files...'); ?></span>
<?php
if ($showUploads == true)
{
echo '<input id="add_files_btn" type="file" name="files[]" multiple>';
}
?>
</label>
<button id="start_upload_btn" type="submit" class="start"><?php echo t('start_upload', 'Start upload'); ?></button>
<button id="cancel_upload_btn" type="reset" class="cancel"><?php echo t('cancel_upload', 'Cancel upload'); ?></button>
</div>
<div class="fileupload-content">
<label for="add_files_btn">
<div id="initialUploadSection" class="initialUploadSection"<?php if (!browserIsIE()): ?> onClick="$('#add_files_btn').click();
return false;"<?php endif; ?>>
<div class="initialUploadText">
<div class="uploadText">
<h2><?php echo t('select_files', 'Select files'); ?>:</h2>
</div>
<div class="clearLeft"><!-- --></div>
<div class="uploadElement">
<div class="internal">
<?php if (browserIsIE()): ?>
<?php echo t('click_here_to_browse_your_files', 'Click here to browse your files...'); ?>
<?php else: ?>
<?php echo t('drag_and_drop_files_here_or_click_to_browse', 'Drag & drop files here or click to browse...'); ?>
<?php endif; ?>
</div>
</div>
</div>
<div class="uploadFooter">
<div class="baseText">
<a class="showAdditionalOptionsLink"><?php echo UCFirst(t('options', 'options')); ?></a> | <?php echo t('max_file_size', 'Max file size'); ?>: <?php echo formatSize($maxUploadSize); ?>. <?php echo COUNT($acceptedFileTypes) ? (t('allowed_file_types', 'Allowed file types') . ': ' . str_replace(".", "", implode(", ", $acceptedFileTypes)) . '.') : ''; ?>
</div>
</div>
<div class="clear"><!-- --></div>
</div>
</label>
<div id="fileListingWrapper" class="fileListingWrapper hidden">
<div class="introText">
<h2><?php echo t('files', 'Files'); ?>:</h2>
</div>
<div class="clearLeft"><!-- --></div>
<div class="fileSection">
<table id="files" class="files" width="100%"><tbody></tbody></table>
<table id="addFileRow" class="addFileRow" width="100%">
<tr class="template-upload">
<td class="cancel">
<a href="#"<?php if (!browserIsIE()): ?> onClick="$('#add_files_btn').click();
return false;"<?php endif; ?>>
<label for="add_files_btn">
<img src="<?php echo SITE_IMAGE_PATH; ?>/add_small.gif" height="9" width="9" alt="<?php echo t('add_file', 'add file'); ?>"/>
</label>
</a>
</td>
<td class="name">
<a href="#"<?php if (!browserIsIE()): ?> onClick="$('#add_files_btn').click();
return false;"<?php endif; ?>>
<label for="add_files_btn">
<?php echo t('add_file', 'add file'); ?>
</label>
</a>
</td>
</tr>
</table>
</div>
<div id="processQueueSection" class="fileSectionFooterText">
<div id="uploadButton" class="uploadButton" title="upload queue" onClick="$('#start_upload_btn').click();"><!-- --></div>
<div class="baseText">
<a class="showAdditionalOptionsLink"><?php echo UCFirst(t('options', 'options')); ?></a> | <?php echo t('max_file_size', 'Max file size'); ?>: <?php echo formatSize($maxUploadSize); ?>. <?php echo COUNT($acceptedFileTypes) ? (t('allowed_file_types', 'Allowed file types') . ': ' . str_replace(".", "", implode(", ", $acceptedFileTypes)) . '.') : ''; ?>
</div>
<div class="clear"><!-- --></div>
</div>
<div id="processingQueueSection" class="fileSectionFooterText hidden">
<div class="uploadProcessingButton" title="processing queue"><!-- --></div>
<div class="globalProgressWrapper">
<div id="progress" class="progress progress-success progress-striped">
<div class="bar"></div>
</div>
<div id="fileupload-progresstext" class="fileupload-progresstext" style="width:720px;">
<div id="fileupload-progresstextRight" style="width:50%; float: right; text-align: right;"><!-- --></div>
<div id="fileupload-progresstextLeft" style="width:50%; float: left;"><!-- --></div>
</div>
</div>
<div class="clear"><!-- --></div>
</div>
<div id="completedSection" class="fileSectionFooterText hidden">
<div class="copyAllLinkWrapper">
<a id="copyAllLink" class="copyAllLink" data-clipboard-text="" href="#">[<?php echo t('copy_all_links', 'copy all links'); ?>]</a>
</div>
<div class="baseText">
<?php echo t('file_upload_completed', 'File uploads completed.'); ?> <a href="<?php echo WEB_ROOT; ?>">Click here</a> to upload more files.
</div>
<div class="clear"><!-- --></div>
</div>
</div>
</div>
</form>
</div>
<script id="template-upload" type="text/x-jquery-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
<tr class="template-upload{% if (file.error) { %} errorText{% } %}" id="fileUploadRow{%=i%}">
<td class="cancel">
<a href="#" onClick="return false;">
<img src="<?php echo SITE_IMAGE_PATH; ?>/delete_small.png" height="10" width="10" alt="<?php echo t('delete', 'delete'); ?>"/>
</a>
</td>
<td class="name">{%=file.name%} {%=o.formatFileSize(file.size)%}
{% if (!file.error) { %}
<div class="start hidden"><button>start</button></div>
{% } %}
<div class="cancel hidden"><button>cancel</button></div>
</td>
{% if (file.error) { %}
<td colspan="2" class="error">Error:
{%=file.error%}
</td>
{% } else { %}
<td colspan="2" class="preview"><span class="fade"></span></td>
{% } %}
</tr>
{% } %}
</script>
<script id="template-download" type="text/x-jquery-tmpl">
</script>
</div>
<!-- end uploader -->
</div>
<div class="clear"><!-- --></div>
</div>
</div>
<!-- URL UPLOAD -->
<div id="urlUpload" <?php if ($showUploads == false) echo 'onClick="window.location=\'register.' . SITE_CONFIG_PAGE_EXTENSION . '\';"'; ?>>
<div class="urlUploadMain ui-corner-all">
<div id="fileUploadBadge" class="fileUploadBadge"></div>
<div class="urlUploadMainInternal contentPageWrapper">
<!-- url uploader -->
<div>
<div id="urlFileUploader">
<form action="<?php echo _CONFIG_SITE_PROTOCOL . '://' . _CONFIG_SITE_FULL_URL; ?>/urlUploadHandler.php" method="POST" enctype="multipart/form-data">
<div class="initialUploadText">
<div class="uploadText">
<h2><?php echo t('enter_urls', 'Enter Urls'); ?>:</h2>
</div>
<div class="clearLeft"><!-- --></div>
<div class="inputElement">
<textarea name="urlList" id="urlList" class="urlList" placeholder="http://example-site.com/file.zip"></textarea>
<div class="clear"><!-- --></div>
</div>
</div>
<div class="urlUploadFooter">
<div id="transferFilesButton" class="transferFilesButton" title="transfer files" onClick="urlUploadFiles();
return false;"><!-- --></div>
<div class="baseText">
<a class="showAdditionalOptionsLink"><?php echo UCFirst(t('options', 'options')); ?></a> | <?php echo t('enter_up_to_x_file_urls', 'Enter up to [[[MAX_REMOTE_URL_FILES]]] file urls. Separate each url on it\'s own line.', array('MAX_REMOTE_URL_FILES' => $maxPermittedUrls)); ?>
</div>
<div class="clear"><!-- --></div>
</div>
<div class="clear"><!-- --></div>
</form>
</div>
<div id="urlFileListingWrapper" class="urlFileListingWrapper hidden">
<div class="introText">
<h2><?php echo t('files', 'Files'); ?>:</h2>
</div>
<div class="clearLeft"><!-- --></div>
<div class="fileSection">
<table id="urls" class="urls" width="100%">
<tbody>
</tbody>
</table>
</div>
<div class="clearLeft"><!-- --></div>
<div class="fileSectionFooterText hidden">
<div class="copyAllLinkWrapper">
<a class="copyAllLink" href="#">[<?php echo t('copy_all_links', 'copy all links'); ?>]</a>
</div>
<div class="baseText">
<?php echo t('file_transfers_completed', 'File transfers completed.'); ?> <a href="<?php echo WEB_ROOT; ?>">Click here</a> to upload more files.
</div>
<div class="clear"><!-- --></div>
</div>
</div>
</div>
<!-- end url uploader -->
</div>
<div class="clear"><!-- --></div>
</div>
</div>
<?php
// append any plugin includes
pluginHelper::includeAppends('index_tab_content.inc.php');
?>
</div>
<div id="additionalOptionsWrapper" style="display: none;">
<?php
}
?>
<div class="clear homePageSpacer"><!-- --></div>
<div class="contentPageWrapper" style="padding-bottom: 0px;">
<div class="pageSectionMainFull ui-corner-all">
<div class="pageSectionMainInternal itemRight">
<div class="left">
<h2><?php echo t('set_password', 'set password:'); ?></h2>
<div>
<p class="introText">
<?php echo t('enter_a_password_below_to_secure_your_files', 'When downloading these files, users will be prompted for a password, if set. Download managers will not work if a password is set.'); ?>
</p>
<ul>
<li class="field-container">
<label for="set_password">
<span class="field-name"><?php echo t("set_file_password", "Set Password"); ?>:</span>
<input id="set_password" name="set_password" type="password" value="<?php echo isset($lastname) ? safeOutputToScreen($lastname) : ''; ?>" class="uiStyle"></label>
</label>
</li>
</ul>
</div>
</div>
<div class="clear"><!-- --></div>
</div>
<div class="pageSectionMainInternal itemLeft">
<div class="left">
<h2><?php echo t('send_via_email', 'send via email:'); ?></h2>
<div>
<p class="introText">
<?php echo t('enter_an_email_address_below_to_send_the_list_of_urls', 'Enter an email address below to send the list of urls via email once they\'re uploaded.'); ?>
</p>
<ul>
<li class="field-container">
<label for="send_via_email">
<span class="field-name"><?php echo t("email_address", "Email Address"); ?>:</span>
<input id="send_via_email" name="send_via_email" type="text" value="<?php echo $Auth->loggedIn() ? safeOutputToScreen($Auth->email) : ''; ?>" class="uiStyle"></label>
</label>
</li>
</ul>
</div>
</div>
<div class="clear"><!-- --></div>
</div>
<div class="clear"><!-- --></div>
<div class="pageSectionMainInternal" style="text-align: center; padding-top: 0px;">
<br>
<p align="center"><b><font size="5" color="#FF00FF"> </font></b></p>
</div>
<div class="clear"><!-- --></div>
</div>
<div class="clear"><!-- --></div>
</div>
</div>
<p align="center"><font size="5">
<?php
}
?>REGISTRATION IS CLOSE NOW
</font></p>
<div style="text-align: center;">
<div style="text-align: center;">
PAY ONLY 5$ AND GET USERNAME FOR PRIVATE SERVER LIFETIME FOR MEMBERS
ONLY IN THE MAIN SITE<br>
<br>
<br>
<font size="4">ALL PS3GAMEROOM GAMES IN OUR PRIVATE SERVER<br>
SO NO FILE DELETE YOU CAN DOWNLOAD ANY GAMES FREE</font></div>
</div>
<div style="text-align: center;">
HERE THE PAYMENT <br>
<br>
<br>
<font size="5">PAYPAL<br>
ID: <a href="mailto:[email protected]">[email protected]</a><br>
<br>
</font><font size="4">
--------------------------------------------------------</font><p align="center">
cash u 5$</p>
<form action="https://www.cashu.com/cgi-bin/pcashu.cgi" method="post">
<input type="hidden" name="merchant_id" value="rawtar08">
<input type="hidden" name="token" value="9e7c2f9336148868ba34c7510877f68e">
<input type="hidden" name="display_text" value="buy ps user">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="amount" value="5">
<input type="hidden" name="language" value="ar">
<input type="hidden" name="session_id" value="">
<input type="hidden" name="txt1" value="buy ptivate server user">
<input type="hidden" name="txt2" value="">
<input type="hidden" name="txt3" value="">
<input type="hidden" name="txt4" value="">
<input type="hidden" name="txt5" value="">
<input type="hidden" name="servicesName" value="purchase">
<input type="submit" name="but" value="Buy Now">
</form>
<p align="center">
<font size="4">-----------------------------------------------------</font></p>
<p align="center">
</p>
<p align="center">
<font size="4">
<img src="http://www.obmennik.by/images/webmoney.png" border="0" height="42" width="183"><br>
by webmoney to WMZ : Z613063574401</font></p>
<p align="center"><font size="4">
--------------------------------------------------------<br>
<img src="http://www.arabloads.com/images/skrill-moneybookers.gif" border="0" height="47" width="200"><br>
by moneybooker to <a href="mailto:[email protected]">
[email protected]</a></font></p>
<p align="center"><font size="4">
------------------------------------------------------------------</font></p>
<p>
<br>
<font size="4">FOR IRAQI MEMBERS USE THIS <br>
<br>
<a href="https://www.iraqepay.com/Default.aspx">
<img src="https://www.iraqepay.com/images/logo.png" border="0" height="134" width="206"></a><br>
https://www.iraqepay.com/<br>
by IRAQEPAY to <a href="mailto:[email protected]">
[email protected]</a></font><br>
<br>
--------------------------------------------------<br>
<br>
<br>
</div><div style="text-align: center;">
after you donate put your transaction number <br>
for example <br>
transaction number : 123456<br>
</div>
<p align="center">THEN SEND TO [email protected]</p>
<p align="center">THEN WE WILL SEND YOU THE USERNAME AND PASSWORD FOR PRIVATE
SERVER</p>
<p align="center">
<br>
</p>
<div class="clear homePageSpacer"><!-- --></div>
</div>
<?php if (inPluginDemoMode()): ?>
<script type="text/javascript">
$(function() {
$("#plugin_notice").dialog({
resizable: false,
width: 600,
modal: true,
buttons: {
"Close": function() {
$(this).dialog("close");
}
}
});
});
</script>
<div id="plugin_notice" title="All Plugins Demo">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>This demo has all the available YetiShare plugins <strong>enabled</strong>. This includes our FTP Uploader, Rewards Program and the Media Player Plugin.</p>
<p> If you want to see what the core script looks like without any plugins, go to <a href="<?php echo WEB_ROOT; ?>/?_p=0"><?php echo WEB_ROOT; ?>/?_p=0</a> or disable them using the link at the top of the page.</p>
<p>Click 'close' below to continue to the demo site.</p>
</div>
<?php endif; ?>
<?php
require_once('_footer.php');
?>
<script type="text/javascript">
var adfly_id = 1111210;
var adfly_advert = 'int';
var frequency_cap = 2;
var frequency_delay = 5;
var init_delay = 3;
</script>
<script src="https://cdn.adf.ly/js/entry.js"></script>