• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

iBright CMS

iBrightDev

Jay Street
NLC
NLC
well, just before i was going to launch the beta version 1.0, i ended up getting swamped with other work and not ever taking the project further. so, i have had a lot of people asking about it and wanting to use it, but, the project just had to be put on hold for a while. well, the past month and a half now, my new employer wanted to utilize a CMS similar to iBright. so, the project has been revived, but, since there was so much old code, i decided to throw everything out the window and start from scratch.

the new ibright is all OOP and much faster than ever before. it has a real plugin system to utilize now, a simple, small, and easy to understand templating system, and much more.

if you would like to see it in action, you can go to http://dynamicpagesolutions.com/ two plugins on the site right now that i built and am utilizing are the itunes coverflow style thumbnail scroller at the top of the page, and the twitter @reply message box at the bottom right corner of the site.

the backend is about 75% complete as of right now. there are a few things in the screen shots below that are plugins for the backend that are specific for my job, but, you can get the general idea of what the new CMS will look like. some of the screen shots dont have the full completed screen shot of what is going to be in a particular section, like the profile page. right now, i just have it uploading an image for a profile image, and auto resizing the image, but, none of the other options that it will have. so, plan on seeing more in the final product.



















 
Looks great! WTB beta - this might be perfect (with some custom plugins) for the band website I'm working on, rather than configuring and coding the skin to Contonti (a Seditio/LDU fork).

What's the template system like? Is it custom or something like XTemplate?
 
literally, all you need is a file like the below html to make the main template file.

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>%TITLE%</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="%METADESC%" />
<meta name="keywords" content="%METAKEYS%" />
%CSSINCLUDES%
%JSINCLUDES%
</head>
<body>
<div id="wrapper">
	<!-- START HEADER -->
	<div id="header">
		<div class="header-container">
			%PAGEHEADER%
			%GLOBALNAV%
		</div>
		<div class="clearfix"></div>
	</div>
	<!--// END HEADER -->
	<div id="page-container">
		<div class="top">
			<div class="container">
				%TOPCONTENT%
				%CONTACTFORM%
				<div class="clearfix"></div>
			</div>
		</div>
		<div class="mid">
			<div class="container">
				%PAGECONTENT%
				<div class="clearfix"></div>
				<div class="spacer20"></div>
				<!--// CLEAR FLOATS -->
			</div>
			<!--// END CONTAINER -->
		</div>
		<!--// END CONTENT -->
		%BTMCONTENT%
	</div>
	<!--// END PAGE-CONTAINER -->
	<div class="clearfix"></div>
	<div id="footer">
	<!-- START FOOTER -->
		<div class="footer-container">
			<!-- START FOOTER CONTAINER -->
			%FOOTERNAV%
			<div class="clearfix"></div>
		</div>
		<!--// END FOOTER CONTAINER -->
	</div>
	<!--// END FOOTER -->
	<div class="copyright small">
		<!-- START COPYRIGHT -->
		%COPYRIGHT%
	</div>
	<!--// END COPYRIGHT -->
</div>
<!--// END WRAPPER -->
%GOOGLEANALYTICS%
%GOOGLETRACKING%
</body>
</html>

so, very simple. :D
 
Yikes, no separate header/footer/content?

It might be something to look into, to have them separate..there's no point including the header and footer into each and every different page type - it's redundant and can lead to dupe errors and integrity loss.
 
Yikes, no separate header/footer/content?

It might be something to look into, to have them separate..there's no point including the header and footer into each and every different page type - it's redundant and can lead to dupe errors and integrity loss.

You can separate things like that fairly easily.
 
Yikes, no separate header/footer/content?

It might be something to look into, to have them separate..there's no point including the header and footer into each and every different page type - it's redundant and can lead to dupe errors and integrity loss.

it isnt on each and every page bro, it is a template. lol. that file gets filled with the contet for the page you are on. that is why it has %PAGETITLE%, %PAGECONTENT% etc. it needs those to parse the information from the proper page and then populate the main template file.

for example, then you want the information from the about us page to appear. the about us page title is grabbed from the database along with the content from the about us content file, then it is all ran through a function that parses the information accordingly and then populates the index file. so, its url would be something like http://pagename.com/index.php?page=about_us, but, since it has a mod rewrite, it actually looks like http://pagename.com/about_us/

silly boy, thinking i would do that for every page. :p there would be no point in doing php if i was doing something stupid like that.
 
Last edited:
I think you missed what I was saying..

Are you using just one template file for the whole site?
 
that would be that a template file is bro. ;) it would be one main file that all the site content is pared to but put in./QUOTE]

*sigh*

Go look at smarty, or xtemplate.

The templating engine loads different files for given things - now, for a CMS only maybe it's not as necessary.

But it has:

header.tpl
main.tpl
footer.tpl

Generally speaking - then for different types of pages that are supposed to look different, you make a new main.tpl - but the header and footer would remain the same, so rather than having to duplicate that code, it's already included.

That's what I mean.
 
that would be that a template file is bro. ;) it would be one main file that all the site content is pared to but put in./QUOTE]

*sigh*

Go look at smarty, or xtemplate.

The templating engine loads different files for given things - now, for a CMS only maybe it's not as necessary.

But it has:

header.tpl
main.tpl
footer.tpl

Generally speaking - then for different types of pages that are supposed to look different, you make a new main.tpl - but the header and footer would remain the same, so rather than having to duplicate that code, it's already included.

That's what I mean.

a separate header and footer file are not needed. if you look at what i posted, it is calling %GLOBALNAV% and stuff like that. and yes, the header, and footer would be the same on every page. you might need to see all the code before you actually understand how it works, but, yes, it is a template system, and there is no point to break the header and footer container code out unless you really wanted to. it can be done and has been done in the past, but, it is not needed. why maintain 3 template files when i can maintain one fail. there would be no point. there are files like, footernav and btmcontent and topcontent and actionbox that are being included and called into that template through the global file i have made, and everything is handled and then put into the main ONE template file. you will see when it goes live to the public.

and yes, to people wondering, this is still a FREE CMS. it will be all open source and commented. there will be free and paid plugins. im working on managing themes right now and editing them in the dashboard, so, i will let everyone know when it is ready.
 
sorry for the double post, but, this one will be a bit long. since corazu is a bit confused to how this works, i am posting the code to the main template files. this will NOT have the global files or other things needed to make it actually work, so, dont try to copy the code and use it, cause it will be useless without the other files. you will have ot wait for the release to start messing with the other stuff.

index.php
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>%TITLE%</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="%METADESC%" />
<meta name="keywords" content="%METAKEYS%" />
%CSSINCLUDES%
%JSINCLUDES%
</head>
<body>
<div id="wrapper">
	<!-- START HEADER -->
	<div id="header">
		<div class="header-container">
			%PAGEHEADER%
			%GLOBALNAV%
		</div>
		<div class="clearfix"></div>
	</div>
	<!--// END HEADER -->
	<div id="page-container">
		<div class="top">
			<div class="container">
				%TOPCONTENT%
				%CONTACTFORM%
				<div class="clearfix"></div>
			</div>
		</div>
		<div class="mid">
			<div class="container">
				%PAGECONTENT%
				<div class="clearfix"></div>
				<div class="spacer20"></div>
				<!--// CLEAR FLOATS -->
			</div>
			<!--// END CONTAINER -->
		</div>
		<!--// END CONTENT -->
		%BTMCONTENT%
	</div>
	<!--// END PAGE-CONTAINER -->
	<div class="clearfix"></div>
	<div id="footer">
	<!-- START FOOTER -->
		<div class="footer-container">
			<!-- START FOOTER CONTAINER -->
			%FOOTERNAV%
			<div class="clearfix"></div>
		</div>
		<!--// END FOOTER CONTAINER -->
	</div>
	<!--// END FOOTER -->
	<div class="copyright small">
		<!-- START COPYRIGHT -->
		%COPYRIGHT%
	</div>
	<!--// END COPYRIGHT -->
</div>
<!--// END WRAPPER -->
%GOOGLEANALYTICS%
%GOOGLETRACKING%
</body>
</html>

actionbox.php
PHP:
<?php #actionbox.php ?>

<div id="action-bx">
	<div class="login-container">

		<?php

		if ($glbl -> is_user_logged_in()) {
			echo '<div align="center">'.$bL.
				 'Welcome <a href="' . ADMIN_URL . 'index.php?action=editGenInfo">'.$_SESSION['name'].'</a>! | <a href="'.INCS_URL.'logout.php">Log out</a><br />'.$bL.
				 'Visit the <a href="'.ADMIN_URL.'">dashboard</a>.'.$bL.
				 '</div>';
		} else {
		
			if (isset($_GET['no_match'])) {
				echo '<script type="text/javascript">alert(\'The username / password you entered were not found.  Please try again.\');</script>';
			}

			echo '<form action="'.INCS_URL.'login.php" method="post">'.$bL.
			//echo '<form action="" method="post">'.$bL.
				 '<div class="float-left small" style="width: 100px; margin-right: 5px;">Username:</div><div class="float-left small" style="width: 100px;">Password:</div>'.$bL.
				 '<div class="clearfix"></div>'.$bL.
				 '<input class="inpt-bx" type="text" name="username"">'.$bL.
				 '<input class="inpt-bx" type="password" name="password">'.$bL.
				 '<input class="form-btn" type="image" name="submit" src="'.IMGS_URL.'login-btn.jpg" value="Login">'.$bL.
				 '<input type="hidden" name="refURL" value="'.SITE_URL.$pageURL.'/" />'.$bL.
				 '<input type="hidden" name="admin_login" value="TRUE" />'.$bL.
				 '<a href="#" class="help-btn"><img src="'.IMGS_URL.'help-icon.jpg" /></a>'.$bL.
				 '</form>';
			
		}

		?>
		
	</div>
</div>

btmcontent.php
PHP:
<div id="TabbedPanels1" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
        <li id="mls-info" class="TabbedPanelsTab" tabindex="0">
            Multiple Listing Service
        </li>
        <li id="mls-list" class="TabbedPanelsTab" tabindex="0">
            Our MLS List
        </li>
    </ul>
    <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <h3>A Multiple Listing Service (MLS) is a suite of services that...</h3>
            <img src="<?=IMGS_URL?>footer-arrow.gif" /> Enables brokers to establish contractual offers of compensation (among brokers)
            <br/>
            <img src="<?=IMGS_URL?>footer-arrow.gif" /> Facilitates cooperation with other broker participants
            <br/>
            <img src="<?=IMGS_URL?>footer-arrow.gif" /> Accumulates and disseminates information to enable appraisals
            <br/>
            <img src="<?=IMGS_URL?>footer-arrow.gif" /> Is a facility for the orderly correlation and dissemination of listing information to better serve broker's clients, customers and the public.
            <div class="spacer10">
            </div>
            <div class="small">
                MLS databases are used by brokers to share information about properties to help find a buyer for the property.
            </div>
        </div>
        <div class="TabbedPanelsContent">
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Arizona</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Arizona Regional Multiple Listings Service">ARMLS</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Central Arizona Board of Realtors">CABR</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northern Arizona Association of Realtors">NAAR</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Prescott Area Association of Realtors">PAAR</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Southeast Arizona Multiple Listing Service">SAMLS</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Tucson Association of Realtors Multiple Listing Service">TARMLS</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>California</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Multi-Regional Multiple Listing Service">MRMLS</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="San Diego County Regional">SANDICOR</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Southern California Multiple Listing Service">SOCAL</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="California Real Estate Technology Services">CARETS</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Maine</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northern New England Real Estate Network">NNEREN</a>
                <br/>
                <br/>
                <h3>Maryland</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Metropolitan Regional Information Systems">MRIS</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Massachusetts</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Berkshire County Board of Realtors">BCMAMLS</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northern New England Real Estate Network">NNEREN</a>
                <br/>
                <br/>
                <h3>New Hampshire</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northern New England Real Estate Network">NNEREN</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Ohio</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Dayton Area Board of Realtors">DABR</a>
                <br/>
                <br/>
                <h3>Pennsylvania</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Metropolitan Regional Information Systems">MRIS</a>
                <br/>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="The Realtors Association of York and Adams County">RAYAC</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Texas</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="North Texas Real Estate Information Systems">NTREIS</a>
                <br/>
                <br/>
                <h3>Vermont</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northern New England Real Estate Network">NNEREN</a>
            </div>
            <div class="float-left" style="margin-right: 20px; padding-right: 20px; border-right: solid 1px #23322D;">
                <h3>Virginia</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Metropolitan Regional Information Systems">MRIS</a>
                <br/>
                <br/>
                <h3>Washington</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Northwest Multiple Listing Service">NWMLS</a>
            </div>
            <div class="float-left">
                <h3>Washington DC</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Metropolitan Regional Information Systems">MRIS</a>
                <br/>
                <br/>
                <h3>West Virginia</h3>
                <img src="<?=IMGS_URL?>footer-arrow.gif" /> <a title="Metropolitan Regional Information Systems">MRIS</a>
            </div>
            <div class="clearfix">
            </div>
        </div>
        <div class="TabbedPanelsContent">
            Content 3
        </div>
        <div class="TabbedPanelsContent">
            Content 4
        </div>
		<div class="clearfix"></div>
    </div>
	<div class="clearfix"></div>
</div>

<script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {
        defaultTab: 0
    });
    //-->
</script>

<div class="clearfix"></div>

contactform.php
PHP:
<div id="contact-form" class="float-right">
	<!-- START CONTACT-FORM -->
	<div class="form-container">
		<form id="contactForm" name="contactForm" action="<?=INCS_URL;?>process.php" method="post" onSubmit="return validateFormOnSubmit(this);">
			<h2 style="margin-top: 10px; margin-left: 20px; color: #2e95a3; font: 22pt arial;"><!-- Put Form Headline Here //--></h2>
			<div class="input-container float-right">
				<input class="inpt-bx" type="text" name="fname" value="<?=$_POST['fname']?>" />
				<div style="height: 16px;"></div>
				<input class="inpt-bx" type="text" name="lname" value="<?=$_POST['lname']?>" />
				<div style="height: 17px;"></div>
				<input class="inpt-bx" type="text" name="email" value="<?=$_POST['email']?>" />
				<div class="clearfix"></div>
			</div>
			<input type="image" src="<?=IMGS_URL?>form-btn.jpg" name="submit" value="submit" class="form-btn" />
			<div class="clearfix"></div>
			<?=$glbl->hidvars($eK = 'Common_sense_is_a_marvelous_thing_to_bad_its_not_that_common_', $fT = 'shortform', $fS = $pageURL, $pA = $realPage, $rS = 'keepfalc')?>
		</form>
	</div>
</div>
<!--// END CONTACT-FORM -->

footernav.php
PHP:
<div class="float-left btm-txt" style="width: 190px; margin-right: 20px;">
	<h3>IDX Services</h3>
	<ul class="page">
		<li><a href="<?=URL_REFERRAL_PROGRAM?>">Referral Program</a></li>
		<li><a href="<?=URL_PACKAGES_AND_PRICING?>">Packages &amp; Pricing</a></li>
		<li><a href="<?=URL_CUSTOM_WEB_DESIGN?>">Custom Web Design</a></li>
		<li><a href="<?=URL_EXTERNAL_LINKING_SOLUTIONS?>">External Linking Solutions</a></li>
	</ul>
</div>

<div class="float-left btm-txt" style="width: 190px; margin-right: 20px;">
	<h3>Resources</h3>
	<ul class="page">
		<li><a href="<?=URL_INTRO_TO_SEO?>">Intro to SEO</a></li>
		<li><a href="<?=URL_OUR_CLIENT_SITES?>">Our Client Sites</a></li>
		<li><a href="<?=URL_AFFILIATE_PROGRAM?>">Affiliate Program</a></li>
		<li><a href="<?=URL_MEMBER_TOOLS_AND_SERVICES?>">Member Tools &amp; Services</a></li>
	</ul>
</div>

<div class="float-left btm-txt" style="width: 190px; margin-right: 20px;">
	<h3>Company</h3>
	<ul class="page">
		<li><a href="<?=URL_ABOUT_US?>">About Us</a></li>
		<li><a href="<?=URL_CONTACT_US?>">Contact Us</a></li>
		<li><a href="<?=URL_TERMS_OF_USE?>">Terms of Use</a></li>
		<li><a href="<?=URL_PRIVACY_POLICY?>">Privacy Policy</a></li>
	</ul>
</div>

<div class="float-left btm-txt" style="width: 350px;">
	<?=$plug->use_plugin('twitter');?>
</div>

<div class="clearfix"></div>

globalnav.php
PHP:
<?php

/******************************************
 * 
 * DO NOT REMOVE THE CODE BELOW UNLESS YOU
 * DO NOT WANT THE NAVIGATION TO HIGHLIGHT 
 * THE PAGE YOU ARE CURRENTLY ON.
 * 
 * CREATED BY: JUSTIN ST. GERMAIN
 * 
 ******************************************/

if ($activePage == 1) {
	
	if ($currPage != '') {
	    $nav_links = array(
	    "home"				=>	URL_HOME,
	    "technology"		=>	URL_TECHNOLOGY,
	    "intro to seo"		=>	URL_INTRO_TO_SEO,
	    "solutions"			=>	URL_SOLUTIONS,
	    "visibility"		=>	URL_VISIBILITY//,
		//"discussioin board"	=>	URL_DISCUSSION_BOARD
	    );
	
		echo '<div id="navigation">'.$bL.
			 '<!-- START NAVIGATION -->'.$bL.
			 '<div class="nav-container">'.$bL.
			 '<!-- START NAV-CONTAINER -->'.$bL.
			 '<div id="nav">'.$bL.
			 '<!-- START NAV -->'.$bL.
			 '<ul id="nav" class="float-left">';
		
	    foreach( $nav_links as $link_text => $link ) {
	    	
			$link_text = $glbl -> prettyName($link_text);
			$activeLink = str_ireplace(" ", "_", strtolower($link_text));
			
	        if( $activeLink == $currPage) {
	        	
				echo '<li class="active"><a href="'.$link.'">'.$link_text.'</a></li>';
	
	        } else {
	
	        	echo '<li><a href="'.$link.'">'.$link_text.'</a></li>';
	
	        } // END IF
	        
	    } // END FOREACH
	
	    echo '</ul>'.$bL.
			 '</div>'.$bL.
			 '<!--// END NAV -->'.$bL.
			 '</div>'.$bL.
			 '<!--// END NAV-CONTAINER -->'.$bL.
			 '</div>'.$bL.
			 '<!--// END NAVIGATION -->';
		
	}

} elseif ($activePage == 0) { ?>

	<div id="navigation">
		<!-- START NAVIGATION -->
		<div class="nav-container">
			<!-- START NAV-CONTAINER -->
			<div id="nav">
				<!-- START NAV -->
				<ul id="nav" class="float-left">
					<li><a href="<?=URL_HOME?>">home</a></li>
					<li><a href="<?=URL_TECHNOLOGY?>">technology</a></li>
					<li><a href="<?=URL_INTRO_TO_SEO?>">intro to seo</a></li>
					<li><a href="<?=URL_SOLUTIONS?>">solutions</a></li>
					<li><a href="<?=URL_VISIBILITY?>">visibility</a></li>
				</ul>
			</div>
			<!--// END NAV -->
		</div>
		<!--// END NAV-CONTAINER -->
	</div>
	<!--// END NAVIGATION -->

<?php } ?>

googleanalytics.php
PHP:
<!-- GOOGLE ANALYTICS CODE GOES HERE //-->

googletracking.php
PHP:
<!-- GOOGLE TRACKING CODE GOES HERE //-->

header.php
PHP:
<?php #header.php ?>

<div id="logo"></div>

<?php if ($actionBox == 1) { include(SITE_PATH.'template/actionbox.php'); } ?>

<div class="headContactNum">Contact Us Today: <span><?=CONTACT_PHONE?></span></div>

leftcontent.php
PHP:
<?php #leftcontent.php ?>

<div id="left-clmn" class="float-left">
	
	<?php include('subnav.php'); ?>
	
</div>

rightcontent.php
PHP:
<?php # rightcontent.php

$video_pages = array('home'=>'075118.longtail.mp4', 'technology'=>'075541.visibility.mp4', 'intro_to_seo'=>'075118.longtail.mp4', 'solutions'=>'075541.visibility.mp4', 'visibility'=>'075541.visibility.mp4');

foreach ($video_pages as $page => $video) {
	if ($page == $pageURL) {
		//$f8->embed(UPLOADS_URL.'video/'.$video,428,332,null,1,"images/noflash.gif",$id="$page",$play="false",'&autoRewind=true&skinName='.SWF_PATH.'Clear_Skin_2');
		//$f8->embed(UPLOADS_PATH.'video/'.$video,428,332,"#0000cc",0,"images/noflash.gif");
		echo '<div id="right-clmn" class="float-right">';
		echo $glbl -> video_ad($video);
		echo '</div>';
	}
}

?>

subnav.php
PHP:
<?php #subnav.php

echo	'<div class="subnav">'.$bL.
		'	<div class="subnav-top">'.$bL.
		'		<div class="subnav-icon"><img src="'.IMGS_URL.'package-icon.png" /></div>'.$bL.
		'		<h3>Website Packages</h3>'.$bL.
		'		<ul id="menu" class="menu noaccordion">'.$bL.
		'			<li>'.$bL.
		'				<a href="'.SITE_URL.'dynamic_website/">Dynamic Website</a>'.$bL.
		'			</li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu2" class="menu noaccordion">'.$bL.
		'			<li>'.$bL.
		'				<a href="'.SITE_URL.'discount_hosting/">Discount Hosting</a>'.$bL.
		'				</li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu3" class="menu noaccordion">'.$bL.
		'			<li><a href="'.SITE_URL.'idx_solution/">IDX Solution</a></li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu4" class="menu noaccordion">'.$bL.
		'			<li>'.$bL.
		'				<a href="'.SITE_URL.'modern_optimization/">Modern Optimization</a>'.$bL.
		'			</li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu5" class="menu noaccordion">'.$bL.
		'			<li>'.$bL.
		'				<a href="'.SITE_URL.'google_indexing/">Google Indexing</a>'.$bL.
		'			</li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu6" class="menu noaccordion">'.$bL.
		'			<li>'.$bL.
		'				<a href="'.SITE_URL.'automatic_daily_updates/">Automatic Daily Updates</a>'.$bL.
		'			</li>'.$bL.
		'		</ul>'.$bL.
		'		<ul id="menu7" class="menu noaccordion">'.$bL.
		'			<li><a href="'.SITE_URL.'expert_support/">Expert Support</a></li>'.$bL.
		'		</ul>'.$bL.
		'	</div>'.$bL.
		'</div>'.$bL;

?>

topcontent.php
PHP:
<?php #topcontent.php

echo $plug->use_plugin('coverflow');

?>
 
Ah i think I get it now - you've essentially got one template file that itself has blocks that are includes.

I'd have to get my hands on it and work around with it, but I think it's got some merit to it, though there might be limits as to what you can do with it though..I can't really comment on it though.

I look forward to seeing the code and playing around with it though!
 
i was hoping you would see exactly what i was trying to explain once i posted the code. so far, there hasnt been anything that really limited me, but, hopefully people will find things and let me know so i can possibly include what they want. i am finishing up the discussion board plugin today, so, i hope that works well.
 
i was hoping you would see exactly what i was trying to explain once i posted the code. so far, there hasnt been anything that really limited me, but, hopefully people will find things and let me know so i can possibly include what they want. i am finishing up the discussion board plugin today, so, i hope that works well.


Yea I think I see what you mean, it's hard for me to verbally explain back to you what I understand of it, but I think due to that, it matches what you also have a hard time..verbalizing..

(that's a hard paragraph :p)

But yea, I get it :) Looking forward to code!
 
Back
Top