Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Need existing modification added to.

 
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial)
View previous topic :: View next topic  
Author Message
ajmboy
Smarty n00b


Joined: 20 Jul 2013
Posts: 1

PostPosted: Sat Jul 20, 2013 2:06 pm    Post subject: Need existing modification added to. Reply with quote

I have a modification that uses 1 php file and smarty tags within another html file and it counts database entries for users. What I need to do is be able to exclude one particular user from being added to the count.

Code:
<table class="border2" width="250" border="0" align="center"><tr>
<td class="mainmenu10" colspan="3"><div align="center"><b>
   ENTRIES - {$month2}</b></div></td></tr><tr><td width="20"><u><font color="#800000"><b>#</b></td></font></u><td width="120"><font color="#800000"><u><b>Member</b></u></font></td><td width="110"><u><font color="#800000"><b>Comments</b></font></td></u></tr>{if $aUsersForMonth2} {foreach from = $aUsersForMonth2 item=user name=foo } <tr><td>{$smarty.foreach.foo.iteration}</td><td><a href="{url link="public.user" name=$user.user}">{$user.user}</a> </td><td>{$user.topfirst}</td></tr>{/foreach}{/if} </table><br /></td><td valign="top"><br /><table class="border2" width="250" border="0" align="center"><tr>
   </tr></table>


Is that possible? There is a $blockeduser variable in the php file but it spans across rather than by month. I can pay paypal. Please contact me.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Help Wanted (commercial) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP