Suoritettu

317970 SMARTY Expert Define IF/Else

Hello and thanks for reviewing my small project.

I need someone that is available right now for the next few hours and can work with me via yahoo instant messenger.

I will pay through SL Escrow.

The Project:

Login here with user: test2 pass: test2

[url removed, login to view]

you can see there if active_aff = 1 right? well that's it ..if the customers active_aff field = 1 ..show affliliate information and links...else do nothing ...dont show it..this needs to be defined somewhere in a class i don't know where

I only added the field in their SQL table already and i made it always default 0 varchar not null and i changed test2 to 0 and test30 to 1 to see if it works as you go.

*note

Please, if you are not a fluent SMARTY expert that has dealt with smarty templates and classes don't bid. Guaranteed this is the hardest if statement you ever write and will take a solid hour or so do not waste my time thinking this is some simple in and out 10 min job any coder can do. EXPERT ONLY this is a very exploded script pulling assign's from thin air. I will leave you bad feedback if not, if you don't know smarty in and out don't bid.

well this new field isnt smarty assigned anywhere ...there are like 5 [url removed, login to view] files it could be in /modules /core funtctions /includes /classes

its not assigned so it will never show up for one...then to make it listen to a new if statement like if smatry.active_aff==1 or something then show this table...

i don't know where it needs to be assigned .... /templates/frontend/[url removed, login to view]

<h1 align="center">Your Account Home </h1>

<table cellpadding="15" cellspacing="0" width="100%">

{section name=op loop=$ChildShortHTMLs}

{if $ChildShortHTMLs[op].tpl ne ''}

{include file=$ChildShortHTMLs[op].tpl}

{/if}

{/section}

</table>

/templates/frontend/[url removed, login to view]

<tr>

<td valign="top">

<table width="400" align="center">

<tr><td align="center" valign="top">

<p><strong>Account Information:</strong></p>

<p> </p>

<p><a href="/[url removed, login to view]">Edit Profile</a>    <a href="/[url removed, login to view]">Order History</a></p>

<p> </p>

<p><a href="/[url removed, login to view]¤t_bal=yes">Current Balance</a>    <a href="/[url removed, login to view]">Getting Started</a></p>

<p> </p></td>

</tr></table>

<!-- -->

<p align="center">if $active_aff eq '1'

</p>

<table width="300" align="center">

<tr>

<td align="center" valign="top">

<p><strong>Affliate Information: </strong></p> <p>  </p> <p>{section name=affi loop=$SubDivs} {if $SubDivs[affi].unickey eq 'affiliate_settings'} {if $CONF_AFFILIATE_EMAIL_NEW_COMMISSION or $CONF_AFFILIATE_EMAIL_NEW_PAYMENT} </p> <div> <a href="%7B"?did=`$SubDivs[affi].id`&ukey=`$SubDivs[affi].ukey`"|set_query_html}">{$SubDivs[affi].name|translate}</a></div>

{/if} {else}

<div> <a href="{"?did=`$SubDivs[affi].id`&ukey=`$SubDivs[affi].ukey`"|set_query_html}">{$SubDivs[affi].name|translate}</a></div>

{/if} {/section}</td>

</tr>

</table>

<p align="center">/if</p></td>

</tr>

maybe this file is the one it needs to be defined in

Taidot: kaikki käy, MySQL, OSCommerce, PHP, SQL

Näytä lisää: write up templates, translate from home, top 100 templates, solid works work, Solid works job, php script null, op note, op coder, new order history, modules anywhere, min its com, listen translate, job define, html 5 align, define job, define coder, p sql, expert pay.com, balance define, bad translate

Tietoa työnantajasta:
( 88 arvostelua ) Milpitas, United States

Projektin tunnus: #2063771

Myönnetty käyttäjälle:

isvn

See PMB

$30 USD 0 päivässä
(0 Arvostelua)
0.0