• 已解决 jienjie123

    (@jienjie123)


    PHP Error Message

    Parse error: syntax error, unexpected T_REQUIRE in /home/a6032457/public_html/wp-content/themes/DynamiX/footer.php on line 1

    Free Web Hosting

    我的网址:www.respawnedgideon.com

    footer.php的代码:
    <?php/***************************************************************//* Call Custom Page Variables *//***************************************************************/require CWZ_FILES ."/inc/page-constants.php"; // Group Slider Gallery/***************************************************************//* Call Custom Page Variables *END* *//***************************************************************/?><?php if($DYN_hidecontent!="yes") { ?><div class="clear"></div></div><!-- /content-wrapper-inner --></div><!-- /content-wrapper --><?/***************************************************************//* Call Twiiter *//***************************************************************/if($DYN_twitter=="pagebot") { ?><div class="twitter-wrap bottom"> <?php require CWZ_FILES .'/inc/twitter.php'; // Call Twitter Template ?></div><?php }/***************************************************************//* Call Twiiter *END* *//***************************************************************/?><?/***************************************************************//* Group Slider Gallery *//***************************************************************/if($DYN_show_slider=="groupslider" && $DYN_groupsliderpos=="below") { ?><div class="gallery-slider bottom"> <?php require CWZ_FILES ."/inc/gallery-groupslider.php"; // Group Slider Gallery ?></div><?php } /***************************************************************//* Group Slider Gallery *END* *//***************************************************************//***************************************************************//* Grid Gallery *//***************************************************************/ if($DYN_show_slider=="gridgallery" && $DYN_groupsliderpos=="below") { ?><div class="gallerywrap grid-gallery bottom"> <?php require CWZ_FILES ."/inc/gallery-grid.php"; // Group Slider Gallery ?></div><?php }/***************************************************************//* Grid Gallery *END* *//***************************************************************/} // Hide Content *END* ?><div class="clear"></div></div><!-- /inner-page --></div><!-- /page --><div class="push"></div></div><!-- /wrapper --><div class="clear"></div><div id="footer-header"></div> <div id="footer-wrap" class="clearfix"> <div id="footer-wrap-inner" class="clearfix"> <div id="footer" class="clearfix"> <!-- I would like to give a great thankyou to WordPress for their amazing platform --><div class="panel-wrap"><?php $thiscol="BotFirst";if(get_option($thiscol.'select')) { if(get_option($thiscol.'select')==$thiscol."-1") { ?> <? custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?> <? contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?> <? pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?> <? recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?> <? categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?> <? meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?> <? }}?></div><div class="panel-wrap"><?php $thiscol="BotSecond";if(get_option($thiscol.'select')) { if(get_option($thiscol.'select')==$thiscol."-1") { ?> <? custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?> <? contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?> <? pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?> <? recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?> <? categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?> <? meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?> <? }}?></div><div class="panel-wrap"><?php $thiscol="BotThird"; if(get_option($thiscol.'select')) { if(get_option($thiscol.'select')==$thiscol."-1") { ?> <? custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?> <? contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?> <? pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?> <? recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?> <? categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?> <? meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?> <? }}?></div><div class="panel-wrap last"><?php $thiscol="BotFourth";if(get_option($thiscol.'select')) { if(get_option($thiscol.'select')==$thiscol."-1") { ?> <? custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?> <? contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?> <? pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?> <? recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?> <? categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat')); ?> <? } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?> <? meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?> <? }} else { }global $DYN_imgheight;?></div> </div><!-- / footer --> </div><!-- / footer-wrap-inner --> </div><!-- / footer-wrap --> <?php if(get_option('lowerfooter')!="disable") { // Check for enabled lower footer ?><div class="lowerfooter-wrap clearfix"> <div class="lowerfooter"> <div class="lowfooterleft"><?php if(get_option('lowfooterleft')) { echo get_option('lowfooterleft'); } else { echo "?". date("Y") ." ".get_option("blogname"); } ?></div> <div class="lowfooterright"><?php if(get_option('lowfooterright')) { echo get_option('lowfooterright'); } else { echo "<a href=\"http://themeforest.net/item/dynamix-premium-wordpress-theme/113901?ref=cwz000\" title=\"Buy Dynamix Theme\" target=\"_blank\">DynamiX Theme</a>"; } ?></div> </div><!-- / lowerfooter --> </div><!-- / lowerfooter-wrap --><?php } ?><!-- Another Great Website Design by Creative Workz - http://www.templategets.com --><?php wp_footer(); ?><script type="text/javascript" charset="utf-8"> Cufon.now();<!--$(document).ready(function(){$('.shortcodeimg').append('<div class="hoverimg" style="height:100%"></div>'); $('.shortcodevid').append('<div class="hovervid" style="height:100%"></div>'); $('.archiveimg-wrap .galleryimg').append('<div class="hoverimg" style="height:100%"></div>'); $('.archiveimg-wrap .galleryvid').append('<div class="hovervid" style="height:100%"></div>'); $('.group-slider .galleryimg, .grid-gallery .galleryimg').append('<div class="hoverimg" style="height:<?php if($DYN_imgheight) { echo $DYN_imgheight; } else { ?>160<? } ?>px"></div>'); $('.group-slider .galleryvid, .grid-gallery .galleryvid').append('<div class="hovervid" style="height:<?php if($DYN_imgheight) { echo $DYN_imgheight; } else { ?>160<? } ?>px"></div>'); });//--><?php $a_browser_data = browser_detection('full'); // Detect Browserif($a_browser_data[1]=="6.0" && $a_browser_data[0]=="ie") { // If IE6 - do nothing ?> <?php } else { ?>$(document).ready(function(){ $(".gridimg-wrap a[rel^='prettyPhoto']").prettyPhoto({theme:'light_rounded'}); });<?php } ?></script><font color="white">jQuery</font></body></html>

查看 2 回复 - 1 至 2 (总计 2)
查看 2 回复 - 1 至 2 (总计 2)
  • 话题 ‘网站上有php错误!!!求救!!!’不再接受新回复。