Sunteți pe pagina 1din 20

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.

com/200 8/fbml" dir="ltr" lang="en" id="vbulletin_html"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="http://www.telecomsourc e.net" /> <base href="http://www.telecomsource.net/" /><!--[if IE]></base><![endif]--> <meta name="generator" content="vBulletin 4.1.7" /> <link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" /> <meta name="keywords" content="WCDMA Optimization,GSM Optimizati on,LTE Optimization,RF Optimization,RF Planning,LTE News" /> <meta name="description" content="LTE News and Telecom News" />

<meta <meta <meta <meta

<meta property="fb:app_id" content="264121060301526" /> property="og:site_name" content="Telecom Source" /> property="og:description" content="LTE News and Telecom News" /> property="og:url" content="http://www.telecomsource.net" /> property="og:type" content="website" />

<script type="text/javascript" src="clientscript/yui/yuiloader-dom-event /yuiloader-dom-event.js?v=417"></script> <script type="text/javascript" src="clientscript/yui/connection/connecti on-min.js?v=417"></script> <script type="text/javascript"> <!-var SESSIONURL = ""; var SECURITYTOKEN = "1353304079-3491d3ea7c61b8fcade4c554689d7303d0406b27 "; var IMGDIR_MISC = "images/misc"; var IMGDIR_BUTTON = "images/buttons"; var vb_disable_ajax = parseInt("0", 10); var SIMPLEVERSION = "417"; var BBURL = "http://www.telecomsource.net"; var LOGGEDIN = 7014 > 0 ? true : false; var THIS_SCRIPT = "attachment"; var RELPATH = "attachment.php?attachmentid=269&amp;d=1321885816"; var PATHS = {forum : ""} // --> </script> <script type="text/javascript" src="http://www.telecomsource.net/clientscript/vb ulletin-core.js?v=417"></script>

<link rel="alternate" type="application/rss+xml" title="Telecom Source R SS Feed" href="http://www.telecomsource.net/external.php?type=RSS2" />

<link rel="stylesheet" type="text/css" href="css.php?styleid=6&amp;langi d=1&amp;d=1349798738&amp;td=ltr&amp;sheet=bbcode.css,editor.css,popupmenu.css,re set-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css," /> <!--[if lt IE 8]> <link rel="stylesheet" type="text/css" href="css.php?styleid=6&amp;langi d=1&amp;d=1349798738&amp;td=ltr&amp;sheet=popupmenu-ie.css,vbulletin-ie.css,vbul letin-chrome-ie.css,vbulletin-formcontrols-ie.css,editor-ie.css" /> <![endif]--> <meta name="robots" content="noindex,follow" /> <title>Telecom Source</title> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=417" ></script> <link rel="stylesheet" type="text/css" href="css.php?styleid=6&amp;langid=1&amp; d=1349798738&amp;td=ltr&amp;sheet=additional.css" /> </head> <body> Content-type: plain/text <div id="navbar" class="navbar"> <ul id="navtabs" class="navtabs floatcontainer"> <li class="selected"><a class="navtab" href="forum.php"> Forum</a> <ul class="floatcontainer">

<li><a href="search.php?do=getne w&amp;contenttype=vBForum_Post">New Posts</a></li>

<li><a href="private.php" rel="n ofollow">Private Messages</a></li> <li><a rel="help" href="faq.php" accessk ey="5">FAQ</a></li> <li><a href="calendar.php">Calen dar</a></li>

<li class="popupmenu"> <a href="javascript://" class="p

opupctrl" accesskey="6">Community</a> <ul class="popupbody popuphover" > <li><a href="gro up.php">Groups</a></li> <li><a href="alb um.php">Albums</a></li> <li><a href="pro file.php?do=buddylist">Friends &amp; Contacts</a></li> <li><a href="mem berlist.php">Member List</a></li> <li><a href="thanks.php? do=hottest">Hottest Threads / Posts</a></li> <li><a href="thanks.php?do=statistics">Thanks / Like Statistics</a></li> </ul> </li>

<li class="popupmenu"> <a href="javascript://" class="p opupctrl">Forum Actions</a> <ul class="popupbody popuphover" > <li> <a href="forumdi splay.php?do=markread&amp;markreadhash=1353304079-3491d3ea7c61b8fcade4c554689d73 03d0406b27" onclick="return confirm('Are you sure you want to mark all forums as being read? This cannot be undone.')">Mark Forums Read</a> </li> <li> <a href="profile .php?do=editoptions">General Settings</a> </li> <li> <a href="profile .php?do=editprofile">Edit Profile</a> </li> </ul> </li> <li class="popupmenu"> <a href="javascript://" class="p opupctrl" accesskey="3">Quick Links</a> <ul class="popupbody popuphover" > <li><a href="sea rch.php?do=getdaily&amp;contenttype=vBForum_Post">Today's Posts</a></li>

<li><a href="sub scription.php" rel="nofollow">Subscribed Threads</a></li> <li><a href="jav ascript://" onclick="window.open(getBaseUrl() + 'misc.php?do=buddylist&amp;focus =1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes ,width=250,height=300'); return false;">Open Contacts Popup</a></li> <li><a href="showgroups. php" rel="nofollow"> View For um Leaders </a></li>

<li><a href="onl ine.php">Who's Online</a></li> </ul> </li> <li class="popupmenu"> <a href="#" class="popupctrl">Currency</a> <ul class="popupbody popuphover"> <li><a href="credits.php" rel="credits-1-7014;hungtran">Credits: <b>2</b></a></li> </ul> </li> </ul> </li> <li><a class="navtab" href="credits.php">Transactions</a></li> <li><a class="navtab" href="blog.php">Blogs</a></li> <li><a class="navtab" href="search.php?do=getnew&amp;con tenttype=vBForum_Post" accesskey="2">What's New?</a></li> </ul> <div id="globalsearch" class="globalsearch"> <form action="search.php?do=process" method="post" id="navbar_se arch" class="navbar_search"> <input type="hidden" name="securitytoken" value="1353304 079-3491d3ea7c61b8fcade4c554689d7303d0406b27" /> <input type="hidden" name="do" value="process" /> <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span> <span class="buttoncontainer"><span><input type="image"

class="searchbutton" src="images/buttons/search.png" name="submit" onclick="docu ment.getElementById('navbar_search').submit;" tabindex="100"/></span></span> </form> <ul class="navbar_advanced_search"> <li><a href="search.php" accesskey="4">Advanced Search</ a></li> </ul> </div> </div> </div><!-- closing div for above_body --> <div class="body_wrapper"> <div id="breadcrumb" class="breadcrumb"> <ul class="floatcontainer"> <li class="navbithome"><a href="index.php" accesskey="1"><img sr c="images/misc/navbit-home.png" alt="Home" /></a></li> <li class="navbit lastnavbit"><span>vBulletin Message</span></li> </ul> <hr /> </div> <div id="ad_global_below_navbar"><center> <script type="text/javascript"><!-google_ad_client = "ca-pub-3941028634374019"; /* 336x280 image and rich */ google_ad_slot = "5724435169"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-google_ad_client = "ca-pub-3941028634374019"; /* 336x280 image and rich */ google_ad_slot = "5724435169"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center></div>

<div class="standard_error"> <h2 class="blockhead">vBulletin Message</h2> <div class="blockbody formcontrols"> <div class="blockrow restore">Sorry, you need 20 Credits to download this attachment.</div> </div>

</div> <div class="clear"></div> <div class="navpopupmenu popupmenu nohovermenu" id="navpopup"> <a href="javascript://" class="popupctrl"><span class="ctrlconta iner">Quick Navigation</span></a> <ul class="navpopupbody popupbody popuphover"> <li class="optionlabel">Site Areas</li> <li><a href="usercp.php">Settings</a></li> <li><a href="private.php">Private Messages</a></li> <li><a href="subscription.php">Subscriptions</a></li> <li><a href="online.php">Who's Online</a></li> <li><a href="search.php">Search Forums</a></li> <li><a href="forum.php">Forums Home</a></li> <li class="optionlabel">Forums</li>

<li><a href="forumdisplay.php?1-TelecomSource-Su pport">TelecomSource Support</a> <ol class="d1">

<li><a href="forumdisplay.php?2-Broadcasting-Cha nnel">Broadcasting Channel</a></li>

<li><a href="forumdisplay.php?4-News">News</a></ li>

<li><a href="forumdisplay.php?5-Only-Telecom-Job s">Only Telecom Jobs</a></li>

<li><a href="forumdisplay.php?39-Requests">Reque sts</a></li>

</ol> </li>

<li><a href="forumdisplay.php?6-Ask-the-Experts" >Ask the Experts</a> <ol class="d1">

<li><a href="forumdisplay.php?59-General-Ask-The -Experts">General : Ask The Experts</a></li>

<li><a href="forumdisplay.php?58-GSM-GPRS-EDGE-A sk-The-Experts">GSM-GPRS-EDGE : Ask The Experts</a></li>

<li><a href="forumdisplay.php?60-UMTS-HSDPA-WCDM A-Ask-The-Experts">UMTS-HSDPA-WCDMA : Ask The Experts</a></li>

<li><a href="forumdisplay.php?61-LTE-LTE-Advance -Ask-The-Experts">LTE-LTE Advance : Ask The Experts</a></li>

<li><a href="forumdisplay.php?62-CDMA-EVDO-Ask-T he-Experts">CDMA-EVDO : Ask The Experts</a></li>

</ol> </li>

<li><a href="forumdisplay.php?46-Hidden-Source"> Hidden Source</a> <ol class="d1">

<li><a href="forumdisplay.php?47-Platinum-Source ">Platinum Source</a></li>

</ol> </li>

<li><a href="forumdisplay.php?7-Wireless-Communi cation">Wireless Communication</a> <ol class="d1">

<li><a href="forumdisplay.php?8-General">General </a> <ol class="d2">

<li><a href="forumdisplay.php?10-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?11-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?12-LTE">LTE</a></l i>

<li><a href="forumdisplay.php?13-EBOOK">EBOOK</a ></li>

<li><a href="forumdisplay.php?14-IBS">IBS</a></l i>

<li><a href="forumdisplay.php?40-CDMA">CDMA</a>< /li>

</ol> </li>

<li><a href="forumdisplay.php?15-Ericsson">Erics son</a> <ol class="d2">

<li><a href="forumdisplay.php?16-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?17-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?18-LTE">LTE</a></l i>

</ol> </li>

<li><a href="forumdisplay.php?19-NSN">NSN</a>

<ol class="d2">

<li><a href="forumdisplay.php?20-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?21-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?22-LTE">LTE</a></l i>

</ol> </li>

<li><a href="forumdisplay.php?23-Huawei">Huawei< /a> <ol class="d2">

<li><a href="forumdisplay.php?24-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?25-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?26-LTE">LTE</a></l i>

<li><a href="forumdisplay.php?41-CDMA">CDMA</a>< /li>

</ol> </li>

<li><a href="forumdisplay.php?27-ALU">ALU</a> <ol class="d2">

<li><a href="forumdisplay.php?28-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?29-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?30-LTE">LTE</a></l i>

<li><a href="forumdisplay.php?43-CDMA">CDMA</a>< /li>

</ol> </li>

<li><a href="forumdisplay.php?31-ZTE">ZTE</a> <ol class="d2">

<li><a href="forumdisplay.php?32-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?33-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?34-LTE">LTE</a></l i>

<li><a href="forumdisplay.php?42-CDMA">CDMA</a>< /li>

</ol> </li>

</ol> </li>

<li><a href="forumdisplay.php?35-Tools-and-Appli cation">Tools and Application</a> <ol class="d1">

<li><a href="forumdisplay.php?36-Drive-Test-Tool s">Drive Test Tools</a></li>

<li><a href="forumdisplay.php?37-Network-Plannin g-Tools">Network Planning Tools</a></li>

<li><a href="forumdisplay.php?38-Post-Processing -Tools">Post Processing Tools</a></li>

<li><a href="forumdisplay.php?48-MapInfo-amp-QGI S">MapInfo &amp; QGIS</a></li>

<li><a href="forumdisplay.php?56-Testing-and-Mea surement-Equipment">Testing and Measurement Equipment</a></li>

</ol> </li>

<li><a href="forumdisplay.php?63-Parameters-andFeatures">Parameters and Features</a> <ol class="d1">

<li><a href="forumdisplay.php?64-Ericsson">Erics son</a> <ol class="d2">

<li><a href="forumdisplay.php?89-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?94-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?99-LTE-and-LTE-Adv ance">LTE and LTE Advance</a></li>

</ol> </li>

<li><a href="forumdisplay.php?65-NSN">NSN</a> <ol class="d2">

<li><a href="forumdisplay.php?90-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?95-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?100-LTE-and-LTE-Ad vance">LTE and LTE Advance</a></li>

</ol> </li>

<li><a href="forumdisplay.php?66-Huawei">Huawei< /a> <ol class="d2">

<li><a href="forumdisplay.php?91-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?96-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?101-LTE-and-LTE-Ad vance">LTE and LTE Advance</a></li>

</ol> </li>

<li><a href="forumdisplay.php?67-ALU">ALU</a>

<ol class="d2">

<li><a href="forumdisplay.php?92-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?97-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?102-LTE-and-LTE-Ad vance">LTE and LTE Advance</a></li>

</ol> </li>

<li><a href="forumdisplay.php?68-ZTE">ZTE</a> <ol class="d2">

<li><a href="forumdisplay.php?93-GSM-EDGE">GSM-E DGE</a></li>

<li><a href="forumdisplay.php?98-UMTS-HSPA">UMTS -HSPA</a></li>

<li><a href="forumdisplay.php?103-LTE-and-LTE-Ad vance">LTE and LTE Advance</a></li>

</ol> </li>

</ol> </li>

<li><a href="forumdisplay.php?54-Miscellaneous"> Miscellaneous</a> <ol class="d1">

<li><a href="forumdisplay.php?44-Switch-and-Core -Technology">Switch and Core Technology</a></li>

<li><a href="forumdisplay.php?45-Transmission-Te chnology">Transmission Technology</a></li>

<li><a href="forumdisplay.php?57-WiMax-and-WiFi" >WiMax and WiFi</a></li>

<li><a href="forumdisplay.php?55-Telecom-Diction ary">Telecom Dictionary</a></li>

</ol> </li>

</ul> </div> <div class="clear"></div> <div style="clear: left"> <div id="ad_global_above_footer"><center> <script id="_wau7tf">var _wau = _wau || []; _wau.push(["classic", "l95hwq9dj4l7" , "7tf"]); (function() {var s=document.createElement("script"); s.async=true; s.src="http://widgets.amung.us/classic.js"; document.getElementsByTagName("head")[0].appendChild(s); })();</script> </center></div> </div> <div id="footer" class="floatcontainer footer"> <form action="forum.php" method="get" id="footer_select" class="footer_s elect">

<select name="styleid" onchange="switch_id(this, 'style' )"> <optgroup label="Quick Style Chooser"> <option value="11" class="" >-- Dark Blu e</option><option value="6" class="" selected="selected">-- Dark Green</option> </optgroup> </select>

</form>

<ul id="footer_links" class="footer_links"> <li><a href="sendmessage.php" rel="nofollow" accesskey="9">Conta ct Us</a></li> <li><a href="http://www.telecomsource.net">Telecom Source</a></l i> <li><a href="archive/index.php">Archive</a></li> <li><a href="http://glowhost.com" target="_blank">Web Hosting</a ></li> <li><a href="attachment.php?attachmentid=269&amp;d=1321885816#to p" onclick="document.location.hash='top'; return false;">Top</a></li> </ul>

<script type="text/javascript"> <!-// Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> </div> </div> <!-- closing div for body_wrapper --> <div class="below_body"> <div id="footer_time" class="shade footer_time">All times are GMT +7. The time n ow is <span class="time">12:47 PM</span>.</div> <div id="footer_copyright" class="shade footer_copyright"> <!-- Do not remove this copyright notice --> Powered by <a href="http://www.vbulletin.com" id="vbulletinlink">vBullet in&reg;</a> Version 4.1.7 <br />Copyright &copy; 2012 vBulletin Solutions, Inc. All rights reserved. <!-- Do not remove this copyright notice --> </div> <div id="footer_morecopyright" class="shade footer_morecopyright"> <!-- Do not remove cronimage or your scheduled tasks will cease to funct ion --> <div><a href="http://www.dragonbyte-tech.com/product.php?credits">vBCred its II Deluxe</a> v2.0.0 Copyright &copy; 2010 <a href="http://www.dragonbyte-te ch.com/">DragonByte Technologies</a></div> <!-- Do not remove cronimage or your scheduled tasks will cease to funct ion --> </div> <div id="fb-root"></div> <script type="text/javascript" src="http://www.telecomsource.net/clientscript/vb ulletin_facebook.js?v=417"></script> <script type="text/javascript" src="https://connect.facebook.net/en_US/all.js">< /script> <script type="text/javascript"> <!--

YAHOO.util.Event.onDOMReady( function() { vBfb = new vB_Facebook({ appid : "264121060301526", connected : 0, active : 0, autoreg : 0, feed_newthread : 1, feed_postreply : 1, feed_blogentry : 1, feed_blogcomment : 1, feed_newarticle : 1, feed_articlecomment : 1 }); } ); --> </script> </div> <span class='st_sharethis_vcount' displayText='ShareThis'></span> <span class='st_facebook_vcount' displayText='Facebook'></span> <span class='st_linkedin_vcount' displayText='LinkedIn'></span> <span class='st_pinterest_vcount' displayText='Pinterest'></span> <span class='st_twitter_vcount' displayText='Tweet'></span><form action="credits .php" method="post">

<div id="credits_popup" class="block popupbody"> <h3 class="blockhead">Currency</h3> <div class="blockbody formcontrols"> <h3 class="blocksubhead">Initiate Transfer - <a id="credits_tran s_link" href="credits.php">Transactions</a></h3> <div class="blockrow popupmenu nomouseover noclick nohovermenu p opupcustom" id="credits_suggest_target"> <table width="100%"> <tr> <td width="50%">

<label for="credits_donate_target" style="float: none;"> To Account<span id="credits_target_change"> - <a href="#">Change</a></span>:</la bel> <b><span id="credits_target_set"></span></b><span id="cr edits_target_edit"><input type="text" class="primary textbox popupctrl" style="w idth: 85%;" maxlength="250" name="target_user" id="credits_donate_target"/></spa n> </td><td> <b id="credits_target_currency_text"></b><select name="t arget_currency" id="credits_target_currency"> <option value="1">Credit s</option> </select>

</td></tr></table></div><div class="blockrow"><t able width="100%"><tr><td width="50%"> <label for="credits_actionid" style="display: block;">Fr om Account:</label> " id="credits_actionid"> </select> <b id="credits_actionid_text"></b><select name="actionid <option value="donate">hungtran</option> </td><td> <span id="credits_show_donate" style="display: none;"> <b id="credits_donate_currency_text"></b><select name="donate_currency" id="credits_donate_currency"> <option value="1 ">Credits</option> </select> </span> <span id="credits_show_adjust" style="display: none;"> <label style="display: inline;"><input type="rad io" name="adjust_method" value="1" checked="checked" /> Give</label> <label style="display: inline;"><input type="rad io" name="adjust_method" value="-1" /> Take</label> </span> </td></tr></table></div><div class="blockrow"><t able width="100%"><tr><td width="30%"> <label for="credits_value" style="display: block;">Amoun t:</label> <b id="credits_value_text"></b><select id="credits_value " style="display: none;"></select><input type="text" class="primary textbox" sty le="width: 80%;" maxlength="250" name="value" id="credits_value_input" /> </td><td> <label for="credits_note" style="display: block;">Option al Note:</label> <input type="text" class="primary textbox" style="width: 95%;" maxlength="250" name="note" id="credits_note" /> </td> </tr> </table> </div> </div> <div class="blockfoot actionbuttons"> <div class="group"> <input type="hidden" name="do" value="popup" /> <input type="hidden" name="s" value="" /> <input type="hidden" name="securitytoken" value="1353304 079-3491d3ea7c61b8fcade4c554689d7303d0406b27" /> <input type="submit" class="button" value="Submit" /> </div> </div> </div>

</form> <script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v=417 "></script> <script type="text/javascript" src="clientscript/jquery/jquery-1.4.4.min.js?v=41 7"></script> <script type="text/javascript"> var vbc = new vB_AJAX_NameSuggest('vbc', 'credits_donate_target', 'credits_sugge st_target'); $.noConflict(true)(function($) { //use jQuery only here $(document).click(function() { popup.hide(); }); //clicking outside the popup to close var popup = $('#credits_popup').hide().css('width', 300).click(function( e) { e.stopPropagation(); }); var options = {"1":{"donate":[1]}}, main = $('#credits_target_currency') , action = $('#credits_actionid'), donate = $('#credits_donate_currency') var valtext = $('#credits_value_input'), baseurl = 'credits.php', last = null; $('a[rel^=credits-]').click(function(e) { //link only opens popup e.preventDefault(); e.stopPropagation(); var self = $(this), offset = self.offset(), name = self.attr('re l').split(';'), open = name[0].split('-'), doc = $(document); var boxwidth = popup.width(), boxheight = popup.height(), winope n = { left: offset.left + self.width() + 5, top: offset.top }; if (winopen.left + boxwidth > doc.width()) winopen.left = offset .left - boxwidth - 5; if (winopen.top + boxheight > doc.height()) winopen.top = offset .top + self.height() - boxheight; $('#credits_trans_link').attr('href', baseurl + ( '' ? '' : '?' ) + 'u=' + open[2] + '&currencyid=' + open[1]); $('#credits_target_change, #credits_target_set').toggle(name[1] != ''); $('#credits_target_edit').toggle(name[1] == ''); $('#credits_target_set').text(name[1]); $('#credits_donate_target').val(name[1]); $('#credits_value_input, #credits_note').val(''); //set from and to to this currency if possible $('select[name=donate_currency] option[selected], select[name=ta rget_currency] option[selected]').removeAttr('selected'); $('select[name=donate_currency] option[value=' + open[1] + '], s elect[name=target_currency] option[value=' + open[1] + ']').attr('selected', 'se lected'); selects('target_currency', false); popup.css({ top: winopen.top, left: winopen.left }).show(); }); $('#credits_target_change a').click(function(e) { //editize e.preventDefault(); $('#credits_trans_link').attr('href', baseurl);

$('#credits_target_change, #credits_target_set').hide(); $('#credits_target_edit').show(); }); popup.parent().submit(function(e) { //submit ajax form e.preventDefault(); $.post('credits.php', SESSIONURL + 'securitytoken=' + SECURITYTO KEN + '&ajax=1&' + $.param($(this).serializeArray()), function(data) { //post whole form var error = $('error', data); if (error.length) alert(error.text().replace(/<br ?\/?>/ gi, '\n')); else { } }); }); var selects = function(select, shown) { //show specific items and possibly replace with text var sel = $('#credits_' + select), tex = $('#credits_' + select + '_text'); var opts = $('option', sel), count = 0; if (shown) opts.hide().removeAttr('selected'); var check = function(i, str) { //do some or all var self = ( shown ? $('option[value=' + str + ']', sel) : $(this) ); if (shown) self.show(); if (!count++) { //selected tex.text(self.text()); if (shown) self.attr('selected', 'selected'); } }; if (shown) $.each(shown, check); else $('option', sel).each(check); sel.toggle(count > 1).change(); tex.toggle(count == 1); }; action.change(function() { //change panel shown var val = action.val(); if (last) $('#credits_show_' + last).hide(); $('#credits_show_' + val).show(); last = val; var selopts = $('#credits_value'); if (val == 'donate' && $('option', selopts).length) { //switch to dropdown valtext.hide().removeAttr('name'); //parse vb error popup.hide(); alert(data);

selopts.show().attr('name', 'value'); selects('credits_value', false); } else { } }); main.change(function() { //source currency var show = [], val = main.val(); $.each(options[val], function(i) { //set action show[show.length] = i; }); selects('actionid', show); if (options[val].donate) selects('donate_currency', options[val] .donate); }); }); </script> </body> </html> //switch to input selopts.hide().removeAttr('name'); valtext.show().attr('name', 'value').keyup();

S-ar putea să vă placă și