1) Script Title:
Drop Down Tabs (5 styles)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...roptabmenu.htm
3) Describe problem:
i cant get it to show include files ??
the tab script in on:
http://www.eventtrafik.com/member-pr...actMemberID=57
if you click on members EVENTS tab you can see the view members events code is working because to code is in the member-profile.tpl script. however, i tried to include the same code as an include under the FRIENDS tab and nothing is showing ???
i tried the include code 3 ways.
i tried it as tpl & php and tried it in the includes folders, smarty folder and root
these are the friends tab include codes that i tried:
<?php include("/membersevents.php"); ?>
<?php include("/include/membersevents.php"); ?>
<?php include("/Smarty/templates/membersevents.tpl"); ?>
for example:
HTML Code:<div id="friends" class="tabcontent"> <?php include("/membersevents.php"); ?> <br /> </div>
this is the include file code:
please helpHTML Code:<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="commonTable" style="border-top:1px solid #b4c2da; border-bottom:1px solid #b4c2da; margin-bottom:15px;"> <tr> <td colspan="0" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="16%" align="center" valign="top"></td> <td width="61%" colspan="2" align="center" valign="top"><span style="padding-left:6px;">{$firstPageData} {$prePageData} {$currPageData} {$nextPageData} {$lastPageData}</span></td> <td width="21%" align="center" valign="top"></td> <td width="2%" rowspan="2" align="center" valign="top"><a href="calendar.php?SearchType=Event&month={$month}&year={$year}&Personal=N&DisplayCondition={$DisplayCondition}"><img src="images/cal2.gif" alt="" width="50" height="50" border="0" align="top"></a></td> </tr> <tr> <td colspan="4" align="left" valign="top"><span style="padding-left:6px;">{$recordwiseHeading}</span> -<span style="padding-left:6px;">{$pagewiseHeading} {$recPerPage}</span></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="BordTab"> <tr> <th width="150" align="left" valign="top">{$ArrayLanguage.Image}</th> <th width="161" align="left" valign="top">{$ArrayLanguage.Date}</th> <th colspan="3" align="left" valign="top">{$ArrayLanguage.Description}</th> <th align="center" valign="top">{$ArrayLanguage.Options}</th> </tr> {if $AllEventArray != 'NULL'} {foreach from=$AllEventArray item=arr} <tr> <td align="left" valign="top"><a href="event-description.php?ID={$arr.ID}&StartDate={$StartDate}&EndDate={$EndDate}"><img src="include/resize.php?pic={$arr.LargeImage}&w=100&h=100" alt="" class="floatImg" /></a> </td> <td align="left" valign="top" style="white-space:nowrap;"> Title : <a href="event-description.php?ID={$arr.ID}&StartDate={$StartDate}&EndDate={$EndDate}"><strong>{$arr.Title|substr:0:20}..</strong></a><br /> Date : {$arr.EndDatePHP}<br /> User : {$arr.OwnerUserName}<br /> Category : {$arr.EventCategory}<br /> Location : {$arr.CountryName} / {$arr.StateName} / {$arr.CityName} {if $arr.OptionalAddress != ' '}[ {$arr.OptionalAddress} ]{/if} <br /> Theme : {$arr.EventTheme}<br /> Genre : {$arr.EventGenre} </td> <td colspan="3" align="left" valign="top">{$arr.Details|substr:0:350}</td> <td align="center" valign="top" nowrap="nowrap"> <img style="cursor:pointer;" onclick="PageRedirect('event-description.php?ID={$arr.ID}&StartDate={$StartDate}&EndDate={$EndDate}');" src="images/view.gif" alt="View" title="View" height="14" width="14" /> {if $arr.EventPromoterID == 0 && $arr.OwnerID != $SessionMemberID && $SessionUserType == 'Promoter'} <img style="cursor:pointer;" onclick="PageRedirect('event-description.php?ApplyToPromote=Y&ID={$arr.ID}&StartDate={$StartDate}&EndDate={$EndDate}');" src="images/apply.gif" alt="Promote" title="Promote" height="14" width="14" /> {/if} {if $arr.WatchlistID == 0 && $arr.OwnerID != $SessionMemberID} <img style="cursor:pointer;" onclick="PageRedirect('watchlist.php?ItemID={$arr.ID}&ItemType=Event&AddToWatchlist=Y');" src="images/watchlist.gif" alt="Watchlist" title="Watchlist" height="14" width="14" /> {/if} </td> </tr> {/foreach} {else} <tr> <td colspan="6" align="center" valign="top">{$ArrayLanguage.No_Record_Found} </td> </tr> {/if} </table> <p> </p> <br />
thanks
ricky



Reply With Quote
Bookmarks