<h4>Sponsor Photo</h4> <table class="form"> <tr> <td class="field-name">Sponsored Listing: <a href="#" onmouseover="drc('A sponsored listing will rotate with other sponsored listings on the home page. Upload a photo to enhance a sponsored listing. It will also move the name of the company to the beginning of the list (in order of bid amount) in list views and search results.','Marketplace Help Tool'); return true;" onmouseout="nd(); return true;" class="field-info">[?]</a></td> <td class="field-value"><input type="radio" name="fields[sponsor_flag]" value="1"<?php echo $sponsor_flag_option[1]; ?> > On <input type="radio" name="fields[sponsor_flag]" value="0"<?php echo $sponsor_flag_option[0]; ?> > Off <input type="submit" value="Update" name="submit"></td> </tr> <tr> <td class="field-name">Sponsored Photo: <a href="#" onmouseover="drc('The sponsored photo will show up under the company\'s profile as well as rotate the main position on the home page.','Marketplace Help Tool'); return true;" onmouseout="nd(); return true;" class="field-info">[?]</a></td> <td class="field-value"><?php echo $biz->getMedia("sponsor", "yes"); ?> </td> </tr> <tr> <td class="field-name"></td> <td class="field-value"><div id="add_sponsor" style="display:none;"><input type="file" name="sponsor"> <input type="submit" value="Upload" name="submit"></div><div id="remove_sponsor" style="display:none;">Are you sure you want to remove this photo? <a onclick="document.getElementById('remove_sponsor').style.display='none'" class="field-info expandable-link">NO</a> <a href="<?php echo $_SERVER["PHP_SELF"]; ?> ?id=<?php echo $_GET["id"]; ?> &remove=sponsor" class="field-info expandable-link">YES</a></div></td> </tr> </table>
?> > On <input type="radio" name="fields[video_flag]" value="0"<?php echo $video_flag_option[0]; ?> > Off</td> </tr> </table> <br/> <h4>Business Logo</h4> <table class="form"> <tr> <td class="field-name">Business Logo: <a href="#" onmouseover="drc('The business logo is an added value feature that will help this company to stand out above the others. Logos should fit inside a 200px by 100px box.','Marketplace Help Tool'); return true;" onmouseout="nd(); return true;" class="field-info">[?]</a></td> <td class="field-value"><?php echo $biz->getMedia("bizlogo", "yes"); ?> </td> </tr> <tr> <td class="field-name"></td> <td class="field-value"><div id="add_bizlogo" style="display:none;"><input type="file" name="bizlogo"> <input type="submit" value="Upload" name="submit"></div><div id="remove_bizlogo" style="display:none;">Are you sure you want to remove this logo? <a onclick="document.getElementById('remove_bizlogo').style.display='none'" class="field-info expandable-link">NO</a> <a href="<?php echo $_SERVER["PHP_SELF"]; ?> ?id=<?php echo $_GET["id"]; ?> &remove=bizlogo" class="field-info expandable-link">YES</a></div></td> </tr> </table> <br/>
if (is_array($tab)) { foreach ($tab as $key => $value) { $build_tab_header .= "<div class=\"tab\"><a onclick=\"hideTabs(); showTab('tabcontent" . $key . "');\">" . $value["header"] . "</a></div>\r"; $build_tab_content .= "<div id=\"tabcontent" . $key . "\" style=\"display:none;\" class=\"tabcontent\">" . $value["content"] . "</div>\r"; } } ?> <div class="tab"><a onclick="hideTabs(); showTab('tabcontent1');">Information</a></div> <?php echo $build_tab_header; ?> <div id="tabcontent1" style="display:block;" class="tabcontent"> <div class="building-block"><?php if ($biz->rec["sponsor_flag"] == "1") { echo $biz->getMedia("sponsor"); } ?> </div> <div class="building-block"><?php if ($biz->rec["business_hours_flag"] == "1") { echo $biz->showBusinessHours($biz->rec["business_hours"]); } ?> </div> <div class="building-block small">Is this your company? Increase interest by adding a company profile. <a href="contact_us.php" class="small bold blue">Click here</a> to contact a representative.</div> <br style="display: block;clear: both;"/> </div> <?php echo $build_tab_content; ?>