Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #21  
Old 19th July 2013, 05:52
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by TrinitY-RG View Post
i see where are coming from mate but that me what i think about it no mate ive made my own basecode and i would not give it out to noone but all good what you say agree, BY THE WAY YOUR EMAILS NOT SENDING OUT nor is the email recover
My mom told me if I can't say any thing nice don't say nothing at all!
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #22  
Old 19th July 2013, 05:59
Joe Joe is offline
Senior Member
 
Join Date: Apr 2010
P2P
Posts: 167
Default
Quote:
Originally Posted by firefly007 View Post
Code:
<div id='footer'>                                              
        <div class='left_footer'><a href='index.php'>home</a> <a href='faq.php'>faq</a> <a href='rules.php'>privacy policy</a><a href='mailto:chezandrei@gmail.com'>contact</a></div>
        <div class='right_footer'><a href='#'  target='_blank'><img src='http://www.bvlist.com/images/chezdesign.gif' border='0' alt='' title='' /></a>
        </div>   
    
    </div>
    
    
    
</div>
There is no need to use ' ' in the above html or though it will work. In most cases you will use ' ' when doing the following

Code:


$footer = "
<div id='footer'>
    <div class='left_footer'>
        <a href='index.php'>home</a><a href='faq.php'>faq</a><a href='rules.php'>privacy policy</a><a href='mailto:chezandrei@gmail.com'>contact</a>
    </div>
    <div class='right_footer'>
        <a href='#'  target='_blank'><img src='http://www.bvlist.com/images/chezdesign.gif' border='0' alt='' title='' /></a>
    </div>
</div>
</div>";

    
    
  
The correct format should be something like this...

Code:
<div id="footer">
    <div class="left_footer">
        <a href="index.php">Home</a><a href="faq.php">Faq</a><a href="Privacy Policy">rules</a><a href="mailto:mailto:chezandrei@gmail.com">Contact</a>
    </div>
    <div class="right_footer"><img src="http://site.ninjacentral.co.za/ban.png" width="350" height="80"  alt="Footer"/>
    </div>
</div>

But if u mix it with php you will need to use $htmlout or $HTMLOUT ? right as Thats what I use in my TBDev code ?
Reply With Quote
  #23  
Old 19th July 2013, 06:10
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Well you could do it two ways..

Eg.
1)
PHP Code:

$footer 
"
<div id='footer'>
    <div class='left_footer'>
        <a href='" 
$BASEURl "/index.php'>home</a><a href='" $BASEURl "/faq.php'>faq</a><a href='" $BASEURl "/rules.php'>privacy policy</a><a href='mailto:chezandrei@gmail.com'>contact</a>
    </div>
    <div class='right_footer'>
        <a href='#'  target='_blank'><img src='http://www.bvlist.com/images/chezdesign.gif' border='0' alt='' title='' /></a>
    </div>
</div>
</div>"

Or

PHP Code:

<div id="footer">
    <div class="left_footer">
        <a href=<?=BASEURL?>"/index.php">Home</a><a href=<?=BASEURL ?>"/faq.php">Faq</a><a href="Privacy Policy">rules</a><a href="mailto:mailto:chezandrei@gmail.com">Contact</a>
    </div>
    <div class="right_footer"><img src="http://site.ninjacentral.co.za/ban.png" width="350" height="80"  alt="Footer"/>
    </div>
</div>
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #24  
Old 19th July 2013, 10:27
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Default
well your right but if you just grabbed a fresh copy of tbdev09 you will see through out it uses e.g :

$htmlout .= "<p><table border='0' cellspacing='0' cellpadding='10' bgcolor='red'>
<tr><td style='padding: 10px; background: red'>\n
<b><a href='messages.php'><font color='white'>".sprintf($lang['gl_msg_alert'], $unread) . ($unread > 1 ? "s" : "") . "!</font></a></b>
</td></tr></table></p>\n";

just my point & view just thought I would share

I do understand your view some people do change their layout & design I know I use echo ""; instead of $htmlout within my code. So all to their own in the end but your correct I was right & wrong but alway nice to show people that use $htmlout.=""; that you use within your <> tags '' & if you code with $htmlout.=''; you use within your <> tags "". but like you said we all have different coding & need to learn/understand others

Quote:
Originally Posted by Joe View Post
Well your right and wrong as ' ' and " " are used in the HTML base code.. I have use $htmlout .=' '; and $HTMLOUT .="" ; so you need to under stand your code be code you post ur thoughts .. People have different setups as I can use ' ' witch the original poster posted.. just an FYI.. and your site is on a free host or dns witch will also make it a bit more pain in the ass to get in .. Try to under stand php and HTML before you say you have a little fix.. Just an FYI :)
Reply With Quote
  #25  
Old 19th July 2013, 11:30
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by BamBam0077 View Post
well your right but if you just grabbed a fresh copy of tbdev09 you will see through out it uses e.g :

$htmlout .= "<p><table border='0' cellspacing='0' cellpadding='10' bgcolor='red'>
<tr><td style='padding: 10px; background: red'>\n
<b><a href='messages.php'><font color='white'>".sprintf($lang['gl_msg_alert'], $unread) . ($unread > 1 ? "s" : "") . "!</font></a></b>
</td></tr></table></p>\n";

just my point & view just thought I would share

I do understand your view some people do change their layout & design I know I use echo ""; instead of $htmlout within my code. So all to their own in the end but your correct I was right & wrong but alway nice to show people that use $htmlout.=""; that you use within your <> tags '' & if you code with $htmlout.=''; you use within your <> tags "". but like you said we all have different coding & need to learn/understand others
very true
Reply With Quote
  #26  
Old 19th July 2013, 14:56
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
I think it comes down to personal preference

Example in an echo statement with a single quotation you would use a double quotation in the tags.
Code:
echo'<td width="50%">TEST</td>';
Or the reverse
Code:
echo"<td width='50%'>TEST</td>";
Or the old way
Code:
echo'<td width=\'50%\'>TEST</td>';
Code:
echo"<td width=\"50%\">TEST</td>";
My preference would be
Code:
echo("<td width='50%'>TEST</td>");
Reply With Quote
  #27  
Old 19th July 2013, 15:02
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Default
I could not agree anymore mate spot on personal preference
Quote:
Originally Posted by fireknight View Post
I think it comes down to personal preference

Example in an echo statement with a single quotation you would use a double quotation in the tags.
Code:
echo'<td width="50%">TEST</td>';
Or the reverse
Code:
echo"<td width='50%'>TEST</td>";
Or the old way
Code:
echo'<td width=\'50%\'>TEST</td>';
Code:
echo"<td width=\"50%\">TEST</td>";
My preference would be
Code:
echo("<td width='50%'>TEST</td>");
Reply With Quote
  #28  
Old 19th July 2013, 15:16
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Yea! I agree, I prefer to move away from <table></table> and <td></td> and rather use <Div's>/CSS and Jquery, all though I still use tables a lot.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #29  
Old 19th July 2013, 15:36
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
I am old school so <table> <tr> <td> are second nature to me.
Having said that you are never to old to learn new things.
So when Krypto and I are finished coding the new V0.1 code.
I am going to have a play at some themes using <div's>.
See what I can learn.
Reply With Quote
  #30  
Old 19th July 2013, 15:56
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up
i use this in all my themes too im old school too but i use the new as well both worlds
Code:
<div's>
Reply With Quote
Reply

Tags
simple , theme

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 18:12. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.