Jump to content

glossary

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

glossary's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I made that change and still get the same error. I had tried making that before I made this post. That is why I am confused about what it is. When I make that change I get the EXACT same error.
  2. I don't know if I agree with this for the ENTIRE site but for the FRONT page this is true. I don't mind having a lot of products on a page if it is what I am looking for (ebay is a good example) and in some instances I prefer a lot of products on a page, but the front page should be sized so you don't have to scroll down. If you just make your body color black, you might really be surprised how much better it looks. If you try black and don't like, just play around a little bit with color. If you are able to add a table to the center do that and then add body color (it will color the outside). It really makes a huge difference. I really like the way your products are accessed. Your header is clean and I am not sure that you want to make your logo the same color as the rest of the page. Sometimes contrast can look good and it draws attention to the item or in this case logo. Earlier today I was working on a site for a client and the entire site is black and white except for the logo which is in color. The contrast is really cool and makes the logo really stand out. Good job on your site and good luck.
  3. Here is the whole thing: <?php // web/index.php: Splash page // First check if the server is running a too-old version of PHP, and // complain bitterly if so. if (preg_match("/^(\d+)/", phpversion(), $m)) { if (intval($m[0]) < 5) { ?> <h1>PeopleAggregator requires PHP5</h1> <p>Your web server is running PHP version <b><?php echo phpversion(); ?></b>. Unfortunately, PeopleAggregator requires PHP5 or later.</p> <p><a href="http://wiki.peopleaggregator.org/PeopleAggregator_requires_PHP5">Click here for some information on installing or enabling PHP5 on typical web servers</a> (on the PeopleAggregator Wiki).</p> <?php exit; } } $login_required = FALSE; $use_theme = 'Beta'; include "includes/page.php"; require_once "$path_prefix/api/ModuleData/ModuleData.php"; $configure = unserialize(ModuleData::get('configure')); $module_name = 'SplashPage'; $configurable_sections = array('showcased_networks', 'network_of_moment', 'video_tours', 'register_today', 'server_announcement'); foreach ($configurable_sections as $key => $section) { $$section = unserialize(ModuleData::get($section)); } //if user is logged in he will go to homepage main site if ( PA::$login_uid || (!isset($configure['show_splash_page'])) || $configure['show_splash_page'] == INACTIVE) { $location = 'homepage.php'; header("Location: $location"); exit; } $parameter = js_includes("all"); $mothership_info = mothership_info(); ?> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive"> <title>Welcome to PeopleAggregator</title> <link href="<?php echo $current_theme_path;?>/style_index.css" rel="stylesheet" type="text/css" media="all"> <? echo $parameter; ?> </head> <body> <div id="wrapper"> <div class="header"> <h1> A place to create and run your own social network </h1> <div class="login"> Already a member?<br> <a href="<?php echo $base_url?>/login.php">Login now</a> or <a href="<?php echo $base_url?>/register.php">register</a> </div> </div> <div class="first_row"> <div class="cel_one"> <span class="spanone"><a href="<?=$base_url;?>/register.php"><div class="number1">1</div><div class="text1 cursor-pointer">join</div></a></span><div class="info_text1">open an account on the PeopleAggregator Home network</div> <span class="spantwo"><a href="<?=$base_url;?>/register.php"><div class="number2">2</div><div class="text2 cursor-pointer">create</div></a></span><div class="info_text2">create your own social network. Pick a name, upload a logo, set the rules and start the community blog</div> <span class="spanthree"><a href="<?=$base_url;?>/register.php"><div class="number3">3</div><div class="text3 cursor-pointer">invite</div></a></span><div class="info_text3">Invite your friends to blog, create groups, upload media and meet each other. All in your own social network</div> </div> <div class="cel_two"> <h2>Register today</h2> <?php if (!empty($register_today)) { ?> <div class="text"> <?php echo $register_today['description']?><br /><br /> </div> <div class="text" align="center"> <a href="<?=$base_url;?>/register.php"> <?php echo uihelper_resize_mk_img('files/'.$register_today['network_image'], 193, 67, 'images/default.png', 'alt="PeopleAggregator"') ?> </a> </div> <?php } ?> </div> <div class="cel_three"> <h2>Video Tours</h2> <?php if (!empty($video_tours)) { ?> <div class="text"> <?php echo $video_tours['description']?><br><br> </div> <div class="text" align="center"> <a href="<?php echo $video_tours['video_url']?>"> <?php echo uihelper_resize_mk_img('files/'.$video_tours['network_image'], 193, 67, 'images/default.png', 'alt="PeopleAggregator"') ?> </a> </div> </div> <?php } ?> </div> <div class="second_row"> <div class="cel_one"> <h2>Network Showcase</h2> <div class="text"> <?php if ($showcased_networks) { ?> Here are a random collection of PeopleAggregator networks. Each network has its own membership, community blog, media galleries, groups, message system, etc. Rollover to view details, click to jump there. <p><span class="showcase"> <?php foreach ($showcased_networks as $network) { ?> <a href="<?php echo $network['network_url']?>" target="_blank"> <?php echo uihelper_resize_mk_img('files/'.$network['network_image'], 145, 145, 'images/default.png', 'alt="PeopleAggregator"')?> </a> <?php } ?> </span></p> <?php } else { echo 'There are no showcased networks'; } ?> <p>Visit our <a href="<?=$base_url;?>/networks_home.php">network directory</a></p> </div> </div> <div class="cel_two"> <h2>Network of the Moment</h2> <div class="text"> <?php if (!empty($network_of_moment)) { ?> <a href="<?php echo $network_of_moment['network_url']?>" target="_blank"><?php echo $network_of_moment['network_caption']?></a> - <?php echo $network_of_moment['description']?></div> <div class="text" align="center"> <p><a href="<?php echo $network_of_moment['network_url'];?>" target="_blank"> <?php echo uihelper_resize_mk_img('files/'.$network_of_moment['network_image'], 193, 67, 'images/default.png', 'alt="PeopleAggregator"') ?> </a></p> </div> <?php } ?> </div> <div class="cel_three"> <h2>On your server?</h2> <?php if (!empty($server_announcement)) { ?> <div class="text"> <?php echo $server_announcement['description']?><br><br> </div> <div class="text" align="center"> <a href="http://wiki.peopleaggregator.org/Main_Page"> <?php echo uihelper_resize_mk_img('files/'.$server_announcement['network_image'], 185, 110, 'images/default.png', 'alt="PeopleAggregator"') ?> </a> </div> <?php } ?> </div> </div> <div class="footer"> <div class="footer_text">copyright 2006 Broadband Mechanics <a href="http://www.broadbandmechanics.com/" target="_blank">About Us</a> | <a href="<?=$base_url?>/features.php" target="_blank">Features</a>| <a href="<?=$base_url?>/faq.php" target="_blank">FAQ</a> | <a href="<?php echo $base_url.'/roadmap.php';?>" target="_blank">Roadmap</a> | <a href="http://wiki.peopleaggregator.org/Main_Page" target="_blank">Developer Wiki</a></div> </div> </div> </body> </html>
  4. I got this error: Parse error: parse error, unexpected T_BOOLEAN_OR, expecting '(' in /home/content...on line 36 Went to line 36 in the code and here it is: if ( PA::$login_uid || (!isset($configure['show_splash_page'])) || $configure['show_splash_page'] == INACTIVE) { Now I know it is an error with a "(" and I have played around with it, but I can't find the error. If someone could help I would be appreciative. Thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.