We help IT Professionals succeed at work.
Get Started

Exception Listing

Starquest321
Starquest321 asked
on
335 Views
Last Modified: 2013-12-13
I need to modify the following code so that when it adds a new entry it will check for the following logic ...

If listing_catagory=portal then DO NOT display the price AND change the link to /site_detailbus.php?listing=xxx

I have posted the code below and attached the original file. .

<td align="right" valign="top">
		 <div style="display: block;" class="slidingTabPanelWrapper">
              <ul class="slidingTabPanel">
             	<li><a href="#" id="widgets" class="tabActive" title="Widgets">¿¿¿¿¿ ¿¿¿¿¿</a></li>
                <li><a href="#" id="nutshell" class="tab" title="Spry in a Nutshell">¿¿¿ ¿¿</a></li>
              </ul>
            </div>
            <div style="overflow: hidden;" tabindex="0" class="SlidingPanels" id="slidingPanel">
              <div style="left: 0px; top: 0px;" class="SlidingPanelsContentGroup">
               
                <div id="widgetsPanel" class="p2 SlidingPanelsContent"><div class="bTop"><img src="images/c1.jpg" alt="" align="left" /><img src="images/c2.jpg" alt="" align="right" /></div>
                <div class="boxContent">
                    <h2 dir="rtl">¿¿¿ ¿¿¿ ¿¿¿¿¿¿: 072-241-8888</h2>
                    <div style="height:100%;">
                    {section name=var loop=$rlisting_id}
                    
                      <p dir="rtl"><A href='{$rlisting_url[var]}'><strong>{$rlisting_title[var]}</strong><br/>{$rlisting_price[var]} ¿"¿</A></p>
        <!--               <p>Check out the <a href="#">Spry Widget samples</a> </p> -->
                      {/section}
                      </div>
                  </div>
                  <div class="bBot"><img src="images/c3.jpg" alt="" align="left" /><img src="images/c4.jpg" alt="" align="right" /></div>
                </div>

Open in new window

Comment
Watch Question
Most Valuable Expert 2011
Author of the Year 2014
Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE