View Single Post
  #5  
Old 01-26-2005, 04:36 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

templates:

Create the template band:
-------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center">
<tr>
<td class="tcat" valign="top" align="left">
<span class="smallfont"><strong>Bands</strong></span>
</td>
$delcol
</tr>
$groupebit
</table>
$ajoutgroupe
<!-- /main -->

$footer
</body>
</html>

Create the template bootleg_popup:
----------------------------------

<html>
<head>
<title></title>
<script language="javascript" type="text/javascript">
var NS = (navigator.appName=="Netscape")?true:false;
function FitPic() {
iWidth = (NS)?window.innerWidth:document.body.clientWidth;
iHeight = (NS)?window.innerHeight:document.body.clientHeight ;
iWidth = document.images[0].width - iWidth;
iHeight = document.images[0].height - iHeight;
window.resizeBy(iWidth, iHeight);
self.focus();
};
</script>
</head>
<body bgcolor="#000000" onload="FitPic();" topmargin="0"
marginheight="0" leftmargin="0" marginwidth="0">
<img src="$image&amp;cid=$cid" border="0" alt="" />
</body>
</html>

Create the template concert:
----------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" valign="top" align="center" colspan="5">
<span class="smallfont"><strong>$groupename's concerts</strong></span>
</td>
</tr>
<tr><td class="thead" align="center">Date</td><td class="thead" align="left" width="25%">
City</td><td class="thead" align="left" width="20%">
State/Country</td><td class="thead" align="left" width="25%">
Venue</td><td class="thead" align="center">
More info</td>$delcol</tr>
$concertbit
<tr>
<td class="tfoot" align="center" colspan="5">
<div class="smallfont"><strong><a href="bootleg.php">Return to band's list</a></strong></div>
</td>
</tr>
</table>
$ajoutconcert
<!-- /main -->

$footer
</body>
</html>

Create the template cover:
--------------------------

<html>
<head>
<title></title>
</head>
<body topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">
<img src="$cover&amp;cid=$cid" border="0" alt="" />
</body>
</html>

Create the template edit_concert:
---------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<form action="bootleg.php" method="post" name="doedit"><input type="hidden" name="s" value="" /><input type="hidden" name="do" value="doedit" /><input type="hidden" name="cid" value="$cid" /><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center"><tr><td class="tcat" valign="top" align="center" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('add')"><img id="collapseimg_add" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><span class="smallfont"><strong>Edit concert</strong></span></td>
</tr><tbody id="collapseobj_add" style="{$collapseobj_add}"><tr><td class="alt1" width="100"><span class="smallfont">Tour name</span></td><td class="alt1"><input type="text" name="nom" value="$tourname" size="50" maxlength="200" title="" /></td></tr>
<tr><td class="alt2" width="100"><span class="smallfont">City</span></td><td class="alt2"><input type="text" name="city" size="50" maxlength="200" title="" value="$city" /></td></tr>
<tr><td class="alt1" width="100"><span class="smallfont">State/Country</span></td><td class="alt1"><input type="text" name="state" size="50" maxlength="200" value="$state" title="" /></td></tr><tr><td class="alt2" width="100"><span class="smallfont">Venue</span></td><td class="alt2"><input type="text" name="venue" size="50" maxlength="200" title="" value="$venue" /></td></tr>
<tr><td class="alt2" width="100"><span class="smallfont">Supporting Act/s</span></td><td class="alt2"><input type="text" name="act" size="50" maxlength="200" title="" value="$act" /></td></tr>
<tr><td class="alt1" width="100"><span class="smallfont">Notes</span></td><td class="alt1"><input type="text" name="notes" size="50" maxlength="200" title="" value="$notes" /></td></tr>
<tr><td class="alt2" width="100"><span class="smallfont">Audio Version</span></td><td class="alt2"><input type="text" name="audiov" size="50" maxlength="200" title="" value="$audiov" /></td></tr>
<tr><td class="alt1" width="100"><span class="smallfont">Audio Rarity</span></td><td class="alt1"><input type="text" name="audior" size="50" maxlength="200" title="" value="$audior" /></td></tr>
<tr><td class="alt2" width="100"><span class="smallfont">Video Version</span></td><td class="alt2"><input type="text" name="videov" size="50" maxlength="200" title="" value="$videov" /></td></tr>
<tr><td class="alt1" width="100"><span class="smallfont">Video Rarity</span></td><td class="alt1"><input type="text" name="videor" size="50" maxlength="200" title="" value="$videor" /></td></tr>
<tr><td class="alt2" width="100"><span class="smallfont">Date</span></td><td class="alt1"><input type="text" name="date" size="50" maxlength="200" title="" value="$date" /></td></tr>
<tr><td class="alt1" width="100"><span class="smallfont">Songs</span></td><td class="alt1">

<textarea name="songs" rows="10" cols="61">$songs</textarea>
</td></tr>
<tr><td class="alt1" align="center" colspan="2"><input type="submit" class="button" name="sbutton" value="$vbphrase[edit_concert]" accesskey="s" tabindex="1" /></td></tr></tbody></table></form>
<!-- /main -->

$footer
</body>
</html>

Create the template info_concert:
---------------------------------

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
</head>
<body>

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="3">Informations for $city, $state</td>
</tr>
</thead>
<tr>
<td class="alt1" width="100%" colspan="2">Tour Name: $tourname</td></tr>
<tr><td class="alt2" width="100%" colspan="2">Location of the performance: $venue</td></tr>
<tr><td class="alt2" width="100%" colspan="2">Supporting Act/s: $act</td></tr>
<tr><td class="alt1" width="100%" colspan="2">Songs: $songs</td></tr>
<tr><td class="alt2" width="100%" colspan="2">Notes: $notes</td></tr>
<tr><td class="thead" width="100%" colspan="2">Availability in bootleg</td></tr>
<tr><td class="alt2" width="50%">Audio Version: $audiov</td><td class="alt2" width="50%">Audio Rarity: $audior</td></tr>
<tr><td class="alt1" width="50%">Video Version: $videov</td><td class="alt1" width="50%">Video Rarity: $videor</td></tr>
<tr><td class="thead" width="100%" colspan="2">Cover, Inlay and Ticket</td></tr>
<tr><td class="alt2" width="50%"><a href="bootleg.php?do=cover&amp;cover=bootleg.php?d o=getfront&amp;cid=$cid&amp;ci d=$cid" target="_blank">Front</a></td><td class="alt2" width="50%"><a href="bootleg.php?do=cover&amp;cover=bootleg.php?d o=getback&amp;cid=$cid&amp;cid =$cid" target="_blank">Back</a></td></tr>
<tr><td class="alt1" width="50%"><a href="bootleg.php?do=cover&amp;cover=bootleg.php?d o=getinlay&amp;cid=$cid&amp;ci d=$cid" target="_blank">Inlay</a></td><td class="alt1" width="50%"><a href="bootleg.php?do=cover&amp;cover=bootleg.php?d o=getticket&amp;cid=$cid&amp;c id=$cid" target="_blank">Ticket</a></td></tr>
</table>
<!-- /main -->

</body>
</html>

In your headinclude, add:
-------------------------

<script type="text/javascript" src="popup.js"></script>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01208 seconds
  • Memory Usage 1,821KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete