Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>CyberAIO GUI</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <script src="/cdn-cgi/apps/head/lzTGcRElIx4cwRnMUkkyLFYJajI.js"></script><link href="css/bootstrap.min.css" rel="stylesheet">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
- <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
- <link href="css/select2.min.css" rel="stylesheet" />
- <script src="js/select2.min.js"></script>
- <link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
- <script src="js/bootstrap-datetimepicker.min.js"></script>
- <link href="css/bootstrap-datepicker.min.css" rel="stylesheet"/>
- <script src="js/bootstrap-datepicker.min.js"></script>
- <link rel="stylesheet" href="dist/bootstrap-tagsinput.css">
- <script src="dist/bootstrap-tagsinput.min.js"></script>
- <script src="css/swal.css"></script>
- </head>
- <body>
- <style>.delet,.quantity-button,.swal-text{text-align:center}#tasks_table th,.bootstrap-tagsinput,.table tbody tr th,.table thead tr th,html{overflow:hidden}.unselectable,body{-webkit-touch-callout:none;-khtml-user-select:none}#save-profile:focus,.btn.btn-cancel-red:focus{outline:0}.addtaskdiv .bilsel,.righ{float:right}.billingdiv,.settingsdiv{top:95px;bottom:75px;position:absolute;box-shadow:10px 10px 100px #000}#tokendiv,.billingdiv,.billingitem.last,.settingsdiv,nav.navbar{position:absolute}#tokendiv,.billingitem span,body{font-family:Poppins,sans-serif!important}.billingdiv,.inner-box,.settingsdiv{box-shadow:10px 10px 100px #000}#navbar li,.addtaskdiv select,.delet{cursor:pointer}body{margin:0;background-color:#16151a;border:1px solid transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.quantity-button,.unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:00;src:local('Poppins-Regular'),url(Poppins-Regular.woff2) format('woff')}.swal-modal{background-color:#201E26}.swal-title{color:#fff}.swal-text{color:#c2c2c2}.swal-button--confirm,.swal-button--success{background-color:#2bb873}.bootstrap-tagsinput input{width:90%!important}#tasks_table th{max-height:51px;white-space:nowrap}.swal-button--cancel{background-color:#e11d41;color:#fff}.swal-icon--success__hide-corners{background-color:none}.unselectable{user-select:none}.table-condensed{color:#999}.table-condensed .btn.btn.btn-primary{background-color:transparent;border-color:#999;color:#999}.bootstrap-datetimepicker-widget{margin-left:-250px;margin-top:10px}.leftdiv{left:40px}.rightdiv{right:40px}.addtaskdiv{height:40px;width:49%;border-bottom:2px solid #28252f;margin-top:10px;color:#fff;padding-top:8px;padding-left:10px}#colordiv,#logindiv{transition:height .3s}.addtaskdiv input[type=text],.addtaskdiv input[type=password]{width:80%;background-color:transparent;color:#fff;border:none;margin-left:20px;float:right}.select2-selection{outline:0!important}.keyword{width:auto;border-radius:11px;padding:0 5px;margin:0 5px 2px;transition:opacity .4s ease-in;background-color:transparent}#keyworddiv::-webkit-scrollbar{display:none}.negative{border:1px solid red;color:red}.positive{border:1px solid #0f0;color:#0f0}.settingsdiv{left:50%;width:60%;margin-left:-30%;background-color:#201e26;padding:60px 80px 80px}.addtaskdiv .switch{margin-top:-6px}.arrow{background-color:transparent}.righ{margin-top:-40px}.billingdiv{width:45.5%;background-color:#201e26;padding:20px}.billingitem img{margin-left:10px}.billingitem span{color:#fff}.billingitem{height:40px;width:100%;border-bottom:2px solid #28252f;margin-top:15px}.billingitem.last{bottom:20px}.bilheader{margin-top:10px;border:none}.billingitem input[type=text],.billingitem input[type=password]{width:70%;background-color:transparent;color:#fff;border:none;margin-left:20px;margin-top:8px}.navbar-nav{margin:.5px 60px}.bilsel{width:70px;border:none;background-color:transparent;color:#67656E;margin-bottom:-10px;margin-left:20px}nav.navbar{top:10;right:0;left:0}#tokendiv{bottom:15px;right:15px;height:auto;color:#fff}.bg0{background-color:#232228;border-color:#232228;margin-bottom:0;border-radius:0;padding:6px 0 0}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.nav>li>a{position:relative;display:block;padding:18px 20px;letter-spacing:1.4px;font-size:14px}.top-heading h3{font-family:olivier;font-size:30px;letter-spacing:.9px;margin-top:35px}nav{transition:border .8s}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#fff;background-color:#232228;border-bottom:2px solid #2bb873;transition:border .5s ease-in,}.container-box,.inner-box{background-color:#201e26;width:auto}.margin20{margin:20px}.mainpage{transition:opacity .3s ease-out}.container-box{border-radius:10px;padding:5px;height:auto}.inner-box{margin:5px;position:absolute;top:75px;right:0;left:0;bottom:75px;border-top-left-radius:10px;border-top-right-radius:10px;transition:left .5s ease-out;transition:right .5s ease-out}#tasks_table tbody::-webkit-scrollbar{width:12px;height:12px}#tasks_table tbody::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#tasks_table tbody::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}#proxy-table tbody::-webkit-scrollbar{width:12px;height:12px}#proxy-table tbody::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#proxy-table tbody::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}#proxies-input textarea::-webkit-scrollbar{width:12px;height:12px}#proxies-input textarea::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#proxies-input textarea::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}.select2-results__options::-webkit-scrollbar{width:12px!important;height:12px!important}.select2-results__options::-webkit-scrollbar-thumb{background:#57555E!important;border-radius:10px!important}.select2-results__options::-webkit-scrollbar-track{border-radius:10px!important}textarea{resize:none}.quantity{position:absolute;right:144px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.quantity input{width:45px;height:42px;line-height:1.65;float:left;display:block;padding:0 0 0 9px;margin:0;border:none;background:0 0;color:#ddd}#tasks_table thead tr.td1,.table thead tr{border-top-left-radius:21px}#tasks_table tbody tr,.bottom-box{border-top:1px solid #16151a}.quantity input:focus{outline:0}.quantity-nav{float:left;position:relative;height:42px}.quantity-button{position:relative;cursor:pointer;border-left:1px solid #232228;width:20px;color:#67656E;font-size:13px;line-height:1.7;-webkit-transform:translateX(-100%);transform:translateX(-100%);-o-user-select:none;user-select:none}.cmn-toggle+label,.onoffswitch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quantity-button.quantity-up{position:absolute;height:50%;top:0;border-bottom:1px solid #232228}.quantity-button.quantity-down{position:absolute;bottom:-1px;height:50%}.bottom-box{padding:10px;width:auto;height:60px;position:absolute;top:15;bottom:20px;right:5px;left:5px;background-color:#201e26;border-bottom-left-radius:21px;border-bottom-right-radius:21px}.table tbody,.table tbody tr,.table thead,.table thead tr{display:block;width:100%}.table tbody tr:hover{background-color:#28252f}.table tbody tr th:nth-child(1),.table thead tr th:nth-child(1){width:50px;padding-left:10px;margin-right:10px}.table tbody tr th:nth-child(2),.table thead tr th:nth-child(2){width:160px;max-width:160px;padding-right:5px;margin-left:10px}#tasks_table tbody tr th:nth-child(3),#tasks_table thead tr th:nth-child(3){width:230px;max-width:230px;padding-right:5px}#tasks_table tbody tr th:nth-child(4),#tasks_table thead tr th:nth-child(4){width:100px;max-width:100px;padding-right:5px}#tasks_table tbody tr th:nth-child(5),#tasks_table thead tr th:nth-child(5){width:160px;max-width:160px;padding-right:5px}#tasks_table tbody tr th:nth-child(6),#tasks_table thead tr th:nth-child(6){width:110px;max-width:110px;padding-right:5px}#tasks_table tbody tr th:nth-child(7),#tasks_table thead tr th:nth-child(7){width:140px;max-width:140px;padding-right:5px}#tasks_table tbody tr th:nth-child(8),#tasks_table thead tr th:nth-child(8){width:auto}#tasks_table tbody tr th:nth-child(9){height:50px;width:157px;float:right;margin-right:15px;margin-top:-53px}#tasks_table thead tr th:nth-child(9){height:50px;width:157px;float:right;margin-right:27px;margin-top:-50px}.table tbody{overflow-y:scroll;position:absolute;top:52px;right:0;left:0;bottom:0}.table thead tr{border-bottom:1px solid #16151a;border-top-right-radius:21px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px 0;line-height:35px;vertical-align:top;border:none;color:#c2c2c2}.white-heading{color:#fff!important;font-weight:400}.btn.btn-primary,.btn.btn-stop,.btn.btn-stop:hover{color:#fff;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-primary{background-color:#2bb873;border-color:#2bb873}.btn.btn-stop,.btn.btn-stop:hover{background-color:red;border-color:red;width:53px}.btn.btn-primary:hover{background-color:#2bb873;border-color:#2bb873;outline:0}.delet{color:#da4143;font-size:20px;margin:0 5px auto}.modal-footer,.right-texts span,.spinner input,.spinner-right{text-align:right}.btn.btn-edit,.btn.btn-edit:hover{color:#fff;background-color:#201e26;border-color:#fff;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-plus,.btn.btn-plus:hover{color:#fff;background-color:#2bb873;border-color:#2bb873;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-arrow,.btn.btn-arrow:hover,.btn.btn-cancel,.btn.btn-cancel:hover,.btn.btn-start,.btn.btn-start:hover{background-color:#201e26;border-radius:21px;padding:5px 18px;outline:0}.btn.btn-cancel,.btn.btn-cancel:hover{color:#e11d41;border-color:#e11d41}.btn.btn-start,.btn.btn-start:hover{color:#2BB873;border-color:#2BB873}.btn.btn-arrow,.btn.btn-arrow:hover{color:#fff;border-color:#fff}.right-texts span{display:inline;margin:11px;float:right;color:#c2c2c2}.coss-fa,.minus{color:#a5a6bb;cursor:pointer;float:right}.minus{margin-right:4px;margin-top:12px}.coss-fa{margin-right:-16px;margin-top:9px}.bootstrap-tagsinput{width:100%;background-color:transparent;color:#999;margin-top:-10px;border:2px solid #28252f}.modal-content{position:relative;background-color:#232228;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-image:url(../img/login-bg.png)}
- .modal-footer{padding:15px;border-top:1px solid #232228}.form-control20{display:block;width:100%;height:36px;padding:0 82px;font-size:13px;line-height:1.42857143;color:#555;background-color:#232228;border:1px solid #232228;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33;margin-top:-34px}input:focus,select:focus,textarea:focus{outline:0!important}label{color:#fff;font-weight:400}.onoffswitch{position:relative;width:90px}.onoffswitch-checkbox{display:none}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:2px solid #999;border-radius:20px}.onoffswitch-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.onoffswitch-inner:after,.onoffswitch-inner:before{display:block;float:left;width:50%;height:30px;padding:0;line-height:30px;font-size:14px;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner:before{content:"Patient";padding-left:10px;background-color:#2FCCFF;color:#FFF}.onoffswitch-inner:after{content:"Doctor";padding-right:10px;background-color:#EEE;color:#999;text-align:right}.close,.white{color:#fff}.onoffswitch-switch{display:block;width:18px;margin:6px;background:#FFF;border:2px solid #999;border-radius:20px;position:absolute;top:0;bottom:0;right:56px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:0}.cmn-toggle{position:absolute;margin-left:-9999px;visibility:hidden}.cmn-toggle+label{display:block;position:relative;cursor:pointer;outline:0;user-select:none}input.cmn-toggle-round-flat+label{padding:2px;width:60px;height:29px;background-color:#ddd;-webkit-border-radius:60px;-moz-border-radius:60px;-ms-border-radius:60px;-o-border-radius:60px;border-radius:60px;-webkit-transition:background .4s;-moz-transition:background .4s;-o-transition:background .4s;transition:background .4s}input.cmn-toggle-round-flat+label:after,input.cmn-toggle-round-flat+label:before{display:block;position:absolute;content:""}input.cmn-toggle-round-flat+label:before{top:2px;left:2px;bottom:2px;right:2px;background-color:#232228;-webkit-border-radius:60px;-moz-border-radius:60px;-ms-border-radius:60px;-o-border-radius:60px;border-radius:60px;-webkit-transition:background .4s;-moz-transition:background .4s;-o-transition:background .4s;transition:background .4s}input.cmn-toggle-round-flat+label:after{top:4px;left:4px;bottom:4px;width:22px;background-color:#ddd;-webkit-border-radius:52px;-moz-border-radius:52px;-ms-border-radius:52px;-o-border-radius:52px;border-radius:52px;-webkit-transition:margin .4s,background .4s;-moz-transition:margin .4s,background .4s;-o-transition:margin .4s,background .4s;transition:margin .4s,background .4s}input.cmn-toggle-round-flat:checked+label{background-color:#0f0}input.cmn-toggle-round-flat:checked+label:after{margin-left:30px;background-color:#0f0}.bg-left,.form-control30{background-color:#232228}.switch{float:right}.line-b{border-bottom:1px solid #2d2c33;width:100%;margin:5px}.close{float:right;font-size:17px;font-weight:700;line-height:1;position:absolute;right:10px;top:-8px}.form-control30,.form-control40,.form-control50{display:block;width:100%;height:36px;font-size:13px;line-height:1.42857143}.margin15{margin:15px}.p-left{padding:0 1px;margin-top:-32px}.form-group{margin-bottom:24px}.modal-body{position:relative;padding:15px;margin:20px auto}.bg-left{padding:10px}.form-control30{padding:0 37px;color:#555;border:1px solid #232228;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33;margin-top:-26px}.btn.btn-save{color:#fff;background-color:#2bb873;border-color:#2bb873;border-radius:21px;outline:0;padding:5px 31px}.space{margin:0 20px}.btn.btn-cancel-red{color:#e11d41;background-color:#201e26;border-color:#e11d41;border-radius:21px;outline:0;padding:5px 24px}.form-control40,.form-control50,.form-spinner{color:#555;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bg-left02,.form-control40,.form-control50{background-color:#232228}.white{font-weight:400}.form-control40{padding:0;border:1px solid #232228;border-bottom:1px solid #2d2c33;margin-top:-10px}.form-control50{padding:0 159px;border:1px solid #232228;border-bottom:1px solid #2d2c33;margin-top:-34px}.bg-left02{padding:10px 14px 76px}.profix-bix{background-color:#212026;padding:32px}.key{float:right;margin:-42px auto}.dash-spc{margin:0 15px}.spinner{width:100px;float:right;left:-233px}.input-group-btn-vertical{position:relative;white-space:nowrap;width:1%;vertical-align:middle;display:table-cell}.input-group-btn-vertical>.btn{display:block;float:none;width:100%;max-width:100%;padding:8px;margin-left:-1px;position:relative;border-radius:0}.input-group-btn-vertical>.btn:first-child{border-top-right-radius:4px;background:#232228}.input-group-btn-vertical>.btn:last-child{margin-top:-2px;border-bottom-right-radius:4px;background:#232228}.form-control-textarea,.form-spinner{display:block;width:100%;padding:6px 12px;font-size:14px;line-height:1.42857143;background-image:none}.input-group-btn-vertical i{position:absolute;top:0;left:4px}.form-spinner{height:31px;background-color:#232228;border:1px solid #232228;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33}.btn-default{color:#999;background-color:#232228}.btn-default:hover,focus{color:#333;background-color:#999}.form-control-textarea{height:34px;color:#555;background-color:#2d2c33;border:1px solid #2d2c33;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}textarea.form-control-textarea{height:auto}@media only screen and (max-width:768px){.xs-center{text-align:center!important}.navbar-nav{float:left;margin:5.5px 0}.btn.btn-arrow,.btn.btn-arrow:hover{padding:5px 8px;font-size:13px}.dash-spc{margin:0 8px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:32px;vertical-align:top;border-top:1px solid #16151a;color:#c2c2c2}}.bootstrap-tagsinput input{float:none!important;margin-left:0!important}
- img{
- user-drag: none;
- user-select: none;
- -moz-user-select: none;
- -webkit-user-drag: none;
- -webkit-user-select: none;
- -ms-user-select: none;}
- </style>
- <header>
- <nav class="navbar navbar-default bg0">
- <div class="container-fluid">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand"><img src="images/logo.png"></a>
- </div>
- <div style="left:0;right:0;height:50px;position: absolute;margin-left:0; margin-right:80px;" onmousedown="mousedown = true" onmouseup="mousedown=false" onmousemove="if(mousedown){formDrag();}"></div>
- <div id="navbar" class="navbar-collapse collapse">
- <ul class="nav navbar-nav text-uppercase">
- <li id="tasks_page_btn" class="active"> <a onClick="changeActive('tasks_page')">Tasks</a></li>
- <li id="proxies_page_btn" > <a onClick="changeActive('proxies_page')">Proxies</a></li>
- <li id="billing_page_btn"> <a onClick="changeActive('billing_page')">Billing</a></li>
- <li id="settings_page_btn"><a onClick="changeActive('settings_page')">Settings</a></li>
- </ul>
- <span class="coss-fa hidden-xs hidden-sm" onclick="CloseApplication()"><img src="images/close.png" height="25"></span>
- <span class="minus hidden-xs hidden-sm" onclick="MinimizeApplication()"><img src="images/minimise.png" height="25"></span>
- </div>
- <!--/.nav-collapse -->
- </div>
- <!--/.container-fluid -->
- </nav>
- </header>
- <div id="maindiv">
- <div id="tasks_page" class="mainpage">
- <div class="container-box">
- <div class="inner-box">
- <table id="tasks_table" class="table">
- <thead class="white-heading">
- <tr>
- <th class="td1" role="button" scope="col" onclick="sortTable(0)">ID</th>
- <th class="td2" role="button" scope="col" onclick="sortTable(1)">Retailer</th>
- <th class="td3" role="button" scope="col" onclick="sortTable(2)">Product</th>
- <th class="td4" role="button" scope="col" onclick="sortTable(3)">Size</th>
- <th class="td5" role="button" scope="col" onclick="sortTable(4)">Start Time</th>
- <th class="td6" role="button" scope="col" onclick="sortTable(5)">Profile</th>
- <th class="td7" role="button" scope="col" onclick="sortTable(6)">Proxy</th>
- <th class="td8" role="button" scope="col" onclick="sortTable(7)">Status</th>
- <th scope="col">Actions</th>
- </tr>
- </thead>
- <tbody id="taskbody" style="overflow-y: scroll;">
- </tbody>
- </table>
- </div>
- <div class="bottom-box">
- <div class="table">
- <tbody>
- <tr style="border-top:1px solid #16151a">
- <button type="button" class="btn btn-plus" id="open-modal-btn" data-toggle="modal" data-target="#myModal"> <img src="images/plus.svg"> Add Tasks</button>
- <button type="button" id="clear_all_tasks" class="btn btn-cancel"> <img src="images/cross.svg"> Clear All Tasks</button>
- <div style="position:absolute;left:50%;margin-left:-152px; bottom:16px;"><button type="button" id="start_all_tasks" class="btn btn-start">
- <img src="images/arrow.svg"> Start All Tasks</button>
- <button type="button" class="btn btn-cancel" id="stop_all_tasks">
- <img src="images/hand.svg"> Stop All Tasks</button>
- </div>
- <button type="button" class="btn btn-arrow" style="float:right;" onclick="OpenLinkInput()">
- <img src="images/link.png"> Link Change</button>
- <button type="button" class="btn btn-arrow" style="float:right;margin-right:4px" onclick="OpenCaptchaQueue()">
- <img src="images/capcha.svg"> Open Captcha Queue</button>
- </div>
- </div>
- <!-- Modal -->
- <div id="myModal" class="modal fade" role="dialog">
- <div class="modal-dialog">
- <!-- Modal content-->
- <div class="modal-content">
- <div class="modal-body">
- <div class="addtaskdiv" id="sitediv" style="padding:5px 0 0 10px;">
- <span style="margin-bottom:10px">Site</span>
- <select id="store-dropdown" class="bilsel js-example-basic-single" style="width:160px;background-color:transparent;float:right;" name="sites">
- <option></option>
- <option value="Supreme">Supreme</option>
- <optgroup label="Mesh">
- <option value="Footpatrol">Footpatrol</option>
- <option value="JD Sports">JD Sports</option>
- <option value="Size?">Size?</option>
- <option value="The Hip Store">The Hip Store</option>
- </optgroup>
- <optgroup label="Footsites">
- <option value="Footlocker US">Footlocker US</option>
- <option value="Footlocker CA">Footlocker CA</option>
- <option value="Footaction">Footaction</option>
- <option value="Champs Sports">Champs Sports</option>
- <option value="EastBay">EastBay</option>
- </optgroup>
- <optgroup label="Shopify">
- <option value="12amrun">12amrun</option>
- <option value="18montrose">18montrose</option>
- <option value="Above the Clouds Store">Above the Clouds Store</option>
- <option value="Addict Miami">Addict Miami</option>
- <option value="Alife NYC">Alife NYC</option>
- <option value="Alumni">Alumni</option>
- <option value="A-ma-maniere">A-ma-maniere</option>
- <option value="Amongst Few">Amongst Few</option>
- <option value="Anti Social Social Club">Anti Social Social Club</option>
- <option value="APB Store">APB Store</option>
- <option value="Astoreisgood">Astoreisgood</option>
- <option value="Atmosny">Atmosny</option>
- <option value="Bape">Bape</option>
- <option value="BB Branded">BB Branded</option>
- <option value="Billionaire Boys Club">Billionaire Boys Club</option>
- <option value="Bodega">Bodega</option>
- <option value="Beatnic">Beatnic</option>
- <option value="Bianca Chandon">Bianca Chandon</option>
- <option value="Blends">Blends</option>
- <option value="Blkmkt">Blkmkt</option>
- <option value="BM Plus">BM Plus</option>
- <option value="Bows and Arrows Berkeley">Bows and Arrows Berkeley</option>
- <option value="Burn Rubber Sneakers">Burn Rubber Sneakers</option>
- <option value="Capsule Roronto">Capsule Roronto</option>
- <option value="Centre">Centre</option>
- <option value="City Blue">City Blue</option>
- <option value="Cncpts">Cncpts</option>
- <option value="Commonwealth-ftgg">Commonwealth-ftgg</option>
- <option value="Concrete">Concrete</option>
- <option value="Courtside Sneakers">Courtside Sneakers</option>
- <option value="Darkside">Darkside</option>
- <option value="Deadstock">Deadstock</option>
- <option value="Doomsday-store">Doomsday-store</option>
- <option value="Dope-factory">Dope-factory</option>
- <option value="DSM Eflash UK">DSM Eflash UK</option>
- <option value="DSM Eflash US">DSM Eflash US</option>
- <option value="DSM Eflash SG">DSM Eflash SG</option>
- <option value="Exclucity">Exclucity</option>
- <option value="Extrabutterny">Extrabutterny</option>
- <option value="Fear Of God">Fear Of God</option>
- <option value="Feature Sneaker Boutique">Feature Sneaker Boutique</option>
- <option value="Fresh Rags FL">Fresh Rags FL</option>
- <option value="Funko Shop">Funko Shop</option>
- <option value="Good as Gold">Good as Gold</option>
- <option value="Haven Shop">Haven Shop</option>
- <option value="Highs and Lows">Highs and Lows</option>
- <option value="Hombre Amsterdam">Hombre Amsterdam</option>
- <option value="Hunting Lodge">Hunting Lodge</option>
- <option value="Justdon">Justdon</option>
- <option value="Justin Timberlake">Justin Timberlake</option>
- <option value="Kith">Kith</option>
- <option value="Kong Online">Kong Online</option>
- <option value="Lapstone and Hammer">Lapstone and Hammer</option>
- <option value="Leaders 1354">Leaders 1354</option>
- <option value="Let Us Prosper">Let Us Prosper</option>
- <option value="Machus Online">Machus Online</option>
- <option value="Manorphx">Manorphx</option>
- <option value="Marathon Sports">Marathon Sports</option>
- <option value="Mini Shop Madrid">Mini Shop Madrid</option>
- <option value="Noirfonce">Noirfonce</option>
- <option value="Nojo Kicks">Nojo Kicks</option>
- <option value="Nomadnet">Nomadnet</option>
- <option value="Notre-shop">Notre-shop</option>
- <option value="Nrml">Nrml</option>
- <option value="OVO CA">OVO CA</option>
- <option value="OVO USA">OVO USA</option>
- <option value="OVO UK">OVO UK</option>
- <option value="Offthehook CA">Offthehook CA</option>
- <option value="Oipolloi">Oipolloi</option>
- <option value="Oneness 287">Oneness 287</option>
- <option value="Packer Shoes">Packer Shoes</option>
- <option value="Palace EU">Palace EU</option>
- <option value="Palace USA">Palace USA</option>
- <option value="Par 5 Milano Yeezy">Par 5 Milano Yeezy</option>
- <option value="Philip Browne">Philip Browne</option>
- <option value="Places+Faces">Places+Faces</option>
- <option value="Proper Lbc">Proper Lbc</option>
- <option value="Reigning Champ">Reigning Champ</option>
- <option value="Renarts">Renarts</option>
- <option value="Rime NYC">Rime NYC</option>
- <option value="Rise 45">Rise 45</option>
- <option value="Rock City Kicks">Rock City Kicks</option>
- <option value="Rooney Shop">Rooney Shop</option>
- <option value="Rsvp Gallery">Rsvp Gallery</option>
- <option value="Saint Alfred">Saint Alfred</option>
- <option value="Samtabak">Samtabak</option>
- <option value="Shoe Gallery Miami">Shoe Gallery Miami</option>
- <option value="Drip">Drip</option>
- <option value="ShopNY">ShopNY</option>
- <option value="Shop Nice Kicks">Shop Nice Kicks</option>
- <option value="Sneaker Junkies USA">Sneaker Junkies USA</option>
- <option value="Sneaker Politics">Sneaker Politics</option>
- <option value="Sneaker World Shop">Sneaker World Shop</option>
- <option value="Social Status">Social Status</option>
- <option value="Sole Classics">Sole Classics</option>
- <option value="Solefly">Solefly</option>
- <option value="Soleheaven">Soleheaven</option>
- <option value="Solestop">Solestop</option>
- <option value="Stampd">Stampd</option>
- <option value="Suede Store">Suede Store</option>
- <option value="The Chimp Store">The Chimp Store</option>
- <option value="The Closet">The Closet</option>
- <option value="The Premier Store">The Premier Store</option>
- <option value="The Sports Edit">The Sports Edit</option>
- <option value="The Sure Store">The Sure Store</option>
- <option value="Travis Scott">Travis Scott</option>
- <option value="Trophy Room Store">Trophy Room Store</option>
- <option value="Undefeated">Undefeated</option>
- <option value="Unknwn">Unknwn</option>
- <option value="Uptownmia">Uptownmia</option>
- <option value="Urbanindustry">Urbanindustry</option>
- <option value="Westnyc">Westnyc</option>
- <option value="Wishatl">Wishatl</option>
- <option value="Xhibition">Xhibition</option>
- <option value="Yeezy Supply">Yeezy Supply</option>
- </optgroup>
- <optgroup label="Lacoste">
- <option value="Lacoste UK">Lacoste UK</option>
- <option value="Lacoste NL">Lacoste NL</option>
- <option value="Lacoste IT">Lacoste IT</option>
- <option value="Lacoste PL">Lacoste PL</option>
- <option value="Lacoste FR">Lacoste FR</option>
- <option value="Lacoste IE">Lacoste IE</option>
- <option value="Lacoste DK">Lacoste DK</option>
- <option value="Lacoste AT">Lacoste AT</option>
- <option value="Lacoste CH">Lacoste CH</option>
- <option value="Lacoste DE">Lacoste DE</option>
- <option value="Lacoste CA">Lacoste CA</option>
- <option value="Lacoste US">Lacoste US</option>
- </optgroup>
- </select>
- </div>
- <div class="addtaskdiv righ">
- Size
- <select style="width:80px" class="bilsel" id="sizeslect">
- <optgroup label="Shoes">
- <option value="3">3</option>
- <option value="3.5">3.5</option>
- <option value="4">4</option>
- <option value="4.5">4.5</option>
- <option value="5">5</option>
- <option value="5.5">5.5</option>
- <option value="6">6</option>
- <option value="6.5">6.5</option>
- <option value="7">7</option>
- <option value="7.5">7.5</option>
- <option value="8">8</option>
- <option value="8.5">8.5</option>
- <option value="9">9</option>
- <option value="9.5">9.5</option>
- <option value="10">10</option>
- <option value="10.5">10.5</option>
- <option value="11">11</option>
- <option value="11.5">11.5</option>
- <option value="12">12</option>
- <option value="12.5">12.5</option>
- <option value="13">13</option>
- <option value="13.5">13.5</option>
- <option value="14">14</option>
- <option value="14.5">14.5</option>
- <option value="15">15</option>
- <option value="16">16</option>
- <option value="17">17</option>
- <option value="18">18</option>
- <option value="19">19</option>
- </optgroup>
- <optgroup label="Tops">
- <option value="XSmall">XSmall</option>
- <option value="Small">Small</option>
- <option value="Medium">Medium</option>
- <option value="Large">Large</option>
- <option value="XLarge">XLarge</option>
- <option value="XXLarge">XXLarge</option>
- </optgroup>
- <optgroup label="Bottoms">
- <option value="26">26</option>
- <option value="28">28</option>
- <option value="30">30</option>
- <option value="32">32</option>
- <option value="34">34</option>
- <option value="36">36</option>
- <option value="38">38</option>
- <option value="40">40</option>
- </optgroup>
- <option value="OneSize">OneSize</option>
- <option value="Random">Random</option>
- </select>
- </div>
- <div class="addtaskdiv" id="tagsdiv" style="width:100%;height:42px;">
- <span id="keyword_span">Keywords</span>
- <div style="float:right;width:80%;">
- <input type="text" id="tagsinput" value="" style="min-width:100%;" data-role="tagsinput" >
- </div></div>
- <div class="addtaskdiv addtaskcolor" id="colordiv" style="width:100%;z-index:1;height:0px;overflow:hidden;margin:0px;padding:0px;border:none;">
- <div style="width:48%;">
- Color:
- <input type="text" id="colorinput" style="width:20%;text-align:right;float:none;" >
- Random:
- <span class="switch" id="ramdomcolortoggle">
- <input id="cmn-toggle-3" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="cmn-toggle-3"></label>
- </span>
- </div>
- <div style="float:right;width:49%;margin-top:-30px;padding-left:5px;">
- Category
- <select class="bilsel" id="categoryinput" style="width:150px;">
- <option value="new">new</option>
- <option value="Jackets">Jackets</option>
- <option value="Shirts">Shirts</option>
- <option value="Tops/Sweaters">Tops/Sweaters</option>
- <option value="Sweatshirts">Sweatshirts</option>
- <option value="T-Shirts">T-Shirts</option>
- <option value="Pants">Pants</option>
- <option value="Shorts">Shorts</option>
- <option value="Hats">Hats</option>
- <option value="Bags">Bags</option>
- <option value="Accessories">Accessories</option>
- <option value="Skate">Skate</option>
- <option value="Shoes">Shoes</option>
- </select>
- </div></div>
- <div class="addtaskdiv addtaskcolor" id="logindiv" style="width:100%;height:0px;overflow:hidden;margin:0px;padding:0px;border:none;">
- Login
- <input type="text" class="logininput" id="usernameinput" style="display:none;width:27%;text-align:right;float:none;margin-right:15px;margin-left:15%;" placeholder="email"><span id="login-seperator"></span><input type="text" class="logininput" id="passwordinput" style="display:none;width:27%;float:none;margin-left:15px;" placeholder="password">
- <span class="switch">
- <input id="logintoggle" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="logintoggle"></label>
- </span>
- </div>
- <div class="addtaskdiv afkmode">
- Checkout Profile
- <select style="width:90px" class="bilsel profileselect" id="profileinput">
- <option value="" disabled selected>-</option>
- </select>
- </div>
- <div class="addtaskdiv righ">
- Amount
- <div class="quantity" style="margin-top:-12px;float:right;position:static">
- <input type="number" id="amountinput" min="1" max="9" step="1" value="1" style="margin-right:30px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
- </div>
- </div>
- <div class="addtaskdiv" style="height:40px;overflow:hidden;">
- Scheduled Start
- <span class="switch" data-attr="afkmode" id="switch4datetime">
- <input id="cmn-toggle-2" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="cmn-toggle-2"></label>
- </span>
- <div style="height:40px;margin-top:30px;">
- <div id="datetimepicker2" class="input-append input-group" style="width:49%;float:right;margin-top:0px;">
- <input data-format="HH:mm:ss PP" style="box-shadow:none;width:98%;margin-left:0;padding-left:0;" class="form-control" type="text"></input>
- <div class="input-group-addon" style="background-color:transparent;border:none;cursor:pointer;padding-left:5px;" id="datepicker">
- <span class="add-on" style="float:right;">
- <img src="images/speed.svg">
- </span>
- </div>
- </div>
- <div class="input-group date" style="margin-top:-8px;width:49%;" data-placement="right">
- <input type="text" value="today" class="form-control" style="box-shadow:none;width:98%;margin-left:0;padding-left:0;" value="now">
- <div class="input-group-addon" style="background-color:transparent;border:none;cursor:pointer;" id="datepicker">
- <img src="images/callerder.svg">
- </div>
- </div></div>
- </div>
- <div class="addtaskdiv righ" style="overflow:hidden;" id="div4proxy">
- Specific Proxy
- <span class="switch" id="toggle4proxy">
- <input id="cmn-toggle-4" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="cmn-toggle-4"></label>
- </span>
- <input type="text" id="proxyinput" style="width:100%;margin-top:20px;" placeholder="IP:Port:Username:Password">
- </div>
- <div class="addtaskdiv" style="border:none;" id="heplmediv">
- </div>
- <div class="addtaskdiv removeme" style="border:none;">
- </div>
- <div class="addtaskdiv righ removeme" style="border:none;">
- </div>
- <div class="addtaskdiv righ" style="border:none;">
- <button type="button" id="addtaskbtn" class="btn btn-start" style="width:49%;border-color:lime;color:lime;float:right;"> Add Task(s)</button>
- <button type="button" id="updatetaskbtn" class="btn btn-start" style="width:49%;border-color:lime;color:lime;float:right;"> Update Task</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="proxies_page" class="mainpage" style="display:none;opacity:0"><div class="inner-box">
- <table id="proxy-table" class="table">
- <thead class="white-heading">
- <tr>
- <th class="ptd1" scope="col">ID</th>
- <th class="ptd2" scope="col">IP</th>
- <th class="ptd3" scope="col">Port</th>
- <th class="ptd4" scope="col">User</th>
- <th class="ptd5" scope="col">Password</th>
- <th class="ptd6" scope="col">Website</th>
- <th class="ptd7" scope="col">Speed</th>
- <th class="ptd8" style="float:right;margin-top:-50px;width:150px;">Actions</th>
- </tr>
- </thead>
- <tbody id="proxybody" style="overflow-y: scroll;">
- </tbody>
- </table>
- </div>
- <div class="bottom-box">
- <div class="table">
- <tbody><tr style="border-top:1px solid #16151a">
- <button type="button" class="btn btn-plus" data-toggle="modal" data-target="#myModal2"> <img src="images/plus.svg"> Add Proxies</button>
- <div style="position:absolute;left:50%;margin-left:-76px; bottom:16px;"><button type="button" id="test-all-proxies" class="btn btn-start">
- <img src="images/arrow.svg"> Test All Proxies On:<select onclick="" id="test-site" style="margin-left:3px;width:auto" class="bilsel"><option value="Shopify">Shopify</option><option value="Supreme">Supreme</option><option value="Mesh">Mesh</option><option value="Footsites">Footsites</option><option value="Off-White">Off-White</option><option value="custom">Custom</option></select></button>
- </div>
- <button id="clear_all_proxies" type="button" class="btn btn-cancel" style="float:right;"> <img src="images/cross.svg"> Clear All Proxies</button>
- </div> </div>
- <div id="myModal2" class="modal fade" role="dialog" style="display: none;">
- <div class="modal-dialog">
- <!-- Modal content-->
- <div class="modal-content">
- <div class="modal-body" style="margin-bottom:0">
- <form>
- <div id="proxies-input" class="form-group" style="margin:0">
- <textarea class="form-control-textarea" id="proxiesarea" rows="15" placeholder="IP:Port:Username:Password One proxy per line"></textarea>
- <div class="margin15"></div>
- <div class="text-right">
- <button type="button" id="addproxiesbutton" class="btn btn-plus"> <img src="images/plus.svg">
- Add Proxies</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div></div>
- <div id="settings_page" class="mainpage" style="display:none;opacity:0">
- <div class="settingsdiv">
- <div class="billingitem" style="margin-top:0px;">
- <img src="images/license.svg"><input id="keyinput" disabled type="password" placeholder="License Key">
- </div>
- <div class="billingitem" style="border:none;">
- <button style="float:right;margin-left:3px;width:126px;" id="showlicensekey" type="button" class="btn btn-start"><img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Show Key</button>
- <button style="float:right;" type="button" class="btn btn-cancel" onclick="ResetKey()"><img src="images/reset15.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Reset License</button>
- </div>
- <div class="billingitem" style="margin-top:5%;">
- <img src="images/speed.svg"><input type="text" placeholder="Global Delay (ms)" disabled>
- <div class="quantity" style="margin-top:-32px;float:right;position:static">
- <input onkeypress='return event.charCode >= 48 && event.charCode <= 57' id="globaldelay" min="100" max="9" step="100" value="100" style="margin-right:50px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
- </div></div>
- <div class="billingitem" style="margin-top:5%;">
- <img src="images/delay.svg"><input type="text" placeholder="Monitor Delay (ms)" disabled>
- <div class="quantity" style="margin-top:-32px;float:right;position:static">
- <input onkeypress='return event.charCode >= 48 && event.charCode <= 57' id="monitordelay" min="100" max="9" step="100" value="100" style="margin-right:50px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
- </div></div>
- <div class="billingitem" style="margin-top:5%;">
- <img src="images/ipo.svg"><input type="text" placeholder="Current Version:" disabled><label id="version-number" style="margin-top:6px;float:right;color:#67656E">3.0.0.0</label>
- </div>
- <div class="billingitem" style="margin-top:4.5%;">
- <img src="images/discord.png"><input type="text" id="webhook" style="width:90%" placeholder="Discord Webhook">
- </div>
- <div class="billingitem" style="border:none;">
- <button type="button" class="btn btn-arrow" style="float:right;" onclick="swal('Checking for updates...', '\n', 'info', {buttons:false});CheckForUpdates();">
- <img src="images/update.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Check for Updates</button>
- <button type="button" class="btn btn-arrow" style="float:right;margin-right:3px;" onclick="ContactSupport()">
- <img src="images/support.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Contact Support</button>
- </div>
- <div class="billingitem" style="border:none;">
- <button type="button" class="btn btn-arrow" style="float:right;border-color:#2BB873;color:#2BB873" onclick="swal('Are you sure?', 'This will overide your tasks, proxies, profiles and settings. This cannot be undone!', 'warning', {buttons: ['Cancel','Yes']}).then((go) => {if(go){ImportAll();}})">
- <img src="images/import.png" style="margin-left:0px;margin-bottom:2px;"> Import Everything</button>
- <button type="button" class="btn btn-arrow" style="float:right;margin-right:3px;border-color:orange;color:orange" onclick="ExportAll()">
- <img src="images/export.png" style="margin-left:0px;margin-bottom:2px;"> Export Everything</button>
- </div>
- <div class="billingitem" style="border:none;">
- <button style="float:right;" type="button" class="btn btn-start" onclick="SaveSettings()"><img src="images/check.png" style="margin-left:0px;margin-bottom:2px;"> Save Settings</button>
- </div>
- </div>
- </div>
- <div id="billing_page" class="mainpage" style="display:none;opacity:0">
- <div id="billing-left" class="leftdiv billingdiv">
- <div class="billingitem" style="width:60%;margin-top:15px;">
- <img src="images/name-icon.svg"><input id="billing-profile-name" class="billinput" name="profile_name" style="margin-top:0;" type="text" placeholder="Profile Name">
- </div><div style="float:right;margin-top:-50px;">
- <button id="save-profile" type="button" class="btn btn-save">Save</button>
- <button type="button" onclick="if($('#load_profile_select').val() != '-' && $('#load_profile_select').val() != ''){swal('Are you sure?', 'This cannot be undone!', 'warning', {buttons: ['Cancel','Yes']}).then((to_delete) => {if(to_delete){delete_profile();}})}" class="btn btn-cancel-red"> Delete</button>
- </div>
- <div class="billingitem bilheader"><img src="images/payment.svg" style="margin-left:0;" height="40px" width="40px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">PAYMENT DETAILS</span></div>
- <div class="billingitem" style="margin-top:5px;">
- <img src="images/email.svg"><input id="payment-email" class="billinput" name="billing_email" type="text" placeholder="Email">
- </div>
- <div class="billingitem">
- <img src="images/phone.svg"><input id="payment-phone" class="billinput" name="billing_phone" type="text" placeholder="Phone">
- </div>
- <div class="billingitem">
- <img src="images/card.svg"><input id="payment-card-name" class="billinput" name="billing_card_name" type="text" placeholder="Name (as shown on card)">
- </div>
- <div class="billingitem">
- <img src="images/card.svg"><input id="payment-card-number" class="billinput" name="billing_card_number" type="text" id="cardnumber" maxlength="19" onkeypress="return event.charCode >= 48 && event.charCode <= 57" placeholder="Card Number">
- </div>
- <div class="billingitem" style="width:70%;">
- <img src="images/callerder.svg"><input type="text" style="width:100px;" placeholder="Expiry Date" disabled>
- <div style="float:right;padding-top:8px;">
- <select id="payment-card-expiry-month" name="billing_card_expiry_month" style="width:50px;" class="bilsel billinput">
- <option id="" value="" disabled selected>MM</option>
- <option id="01">01</option>
- <option id="02">02</option>
- <option id="03">03</option>
- <option id="04">04</option>
- <option id="05">05</option>
- <option id="06">06</option>
- <option id="07">07</option>
- <option id="08">08</option>
- <option id="09">09</option>
- <option id="10">10</option>
- <option id="11">11</option>
- <option id="12">12</option>
- </select>
- <select id="payment-card-expiry-year" name="billing_card_expiry_year" class="bilsel billinput">
- <option id="" value="" disabled selected>YY</option>
- <option>2018</option>
- <option>2019</option>
- <option>2020</option>
- <option>2021</option>
- <option>2022</option>
- <option>2023</option>
- <option>2024</option>
- <option>2025</option>
- </select></div>
- </div>
- <div class="billingitem" style="width:35%;">
- <img src="images/card.svg"><input id="payment-card-cvv" class="billinput" name="billing_card_cvv" style="width:50px;" type="text" maxlength="4" onkeypress='return event.charCode >= 48 && event.charCode <= 57' placeholder="CVV">
- </div>
- <div class="billingitem last" style="width:220px;border-bottom:2px solid #28252f;left:20px;">
- <img src="images/gallery.svg"><input id="load_profile_input" type="text" style="width:75px;" placeholder="Load Profile" disabled>
- <select class="bilsel billinput profileselect" id="load_profile_select" style="margin-left:10px;">
- <option>-</option>
- </select>
- </div>
- <div class="billingitem last" style="width:auto;right:20px;left:auto;border:none;">
- <button type="button" id="new_profile_btn" class="btn btn-plus" style="padding-left:0px;"> <img src="images/plus.svg"> New</button>
- <button type="button" class="btn btn-start" onclick="open_file_import()">Import</button><button style="margin-left:3px;" type="button" class="btn btn-start" onclick="open_file_export()">Export</button>
- </div>
- </div>
- <div id="billing-right" class="rightdiv billingdiv">
- <div class="billingitem bilheader" style="margin-top:0px;"><img src="images/delivery.svg" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">DELIVERY DETAILS</span></div>
- <div class="billingitem" style="width:48%;margin-top:5px;">
- <img src="images/name-icon.svg"><input type="text" id="delivery-first-name" placeholder="First Name">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/name-icon.svg"><input type="text" id="delivery-last-name" placeholder="Last Name">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/location.svg"><input type="text" id="delivery-address1" placeholder="Address 1">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/location.svg"><input type="text" id="delivery-address2" placeholder="Address 2 (Optional)">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/zip.svg"><input type="text" id="delivery-zip" placeholder="Zip Code">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/city.svg"><input type="text" id="delivery-city" placeholder="City">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/earth.svg">
- <select class="bilsel" id="delivery-country" style="margin-top:8px;width:70%;">
- <option id="" value="" disabled="" selected="">Country</option>
- <optgroup id="country-optgroup-Africa" label="Africa">
- <option value="Algeria">Algeria</option>
- <option value="Angola">Angola</option>
- <option value="Benin">Benin</option>
- <option value="Botswana">Botswana</option>
- <option value="Burkina Faso">Burkina Faso</option>
- <option value="Burundi">Burundi</option>
- <option value="Cameroon">Cameroon</option>
- <option value="Cape Verde">Cape Verde</option>
- <option value="Central African Republic">Central African Republic</option>
- <option value="Chad">Chad</option>
- <option value="Comoros">Comoros</option>
- <option value="Congo - Brazzaville">Congo - Brazzaville</option>
- <option value="Congo - Kinshasa">Congo - Kinshasa</option>
- <option value="Côte d’Ivoire">Côte d’Ivoire</option>
- <option value="Djibouti">Djibouti</option>
- <option value="Egypt">Egypt</option>
- <option value="Equatorial Guinea">Equatorial Guinea</option>
- <option value="Eritrea">Eritrea</option>
- <option value="Ethiopia">Ethiopia</option>
- <option value="Gabon">Gabon</option>
- <option value="Gambia">Gambia</option>
- <option value="Ghana">Ghana</option>
- <option value="Guinea">Guinea</option>
- <option value="Guinea-Bissau">Guinea-Bissau</option>
- <option value="Kenya">Kenya</option>
- <option value="Lesotho">Lesotho</option>
- <option value="Liberia">Liberia</option>
- <option value="Libya">Libya</option>
- <option value="Madagascar">Madagascar</option>
- <option value="Malawi">Malawi</option>
- <option value="Mali">Mali</option>
- <option value="Mauritania">Mauritania</option>
- <option value="Mauritius">Mauritius</option>
- <option value="Mayotte">Mayotte</option>
- <option value="Morocco">Morocco</option>
- <option value="Mozambique">Mozambique</option>
- <option value="Namibia">Namibia</option>
- <option value="Niger">Niger</option>
- <option value="Nigeria">Nigeria</option>
- <option value="Rwanda">Rwanda</option>
- <option value="Réunion">Réunion</option>
- <option value="Saint Helena">Saint Helena</option>
- <option value="Senegal">Senegal</option>
- <option value="Seychelles">Seychelles</option>
- <option value="Sierra Leone">Sierra Leone</option>
- <option value="Somalia">Somalia</option>
- <option value="South Africa">South Africa</option>
- <option value="Sudan">Sudan</option>
- <option value="Swaziland">Swaziland</option>
- <option value="São Tomé and Príncipe">São Tomé and Príncipe</option>
- <option value="Tanzania">Tanzania</option>
- <option value="Togo">Togo</option>
- <option value="Tunisia">Tunisia</option>
- <option value="Uganda">Uganda</option>
- <option value="Western Sahara">Western Sahara</option>
- <option value="Zambia">Zambia</option>
- <option value="Zimbabwe">Zimbabwe</option>
- </optgroup>
- <optgroup id="country-optgroup-Americas" label="Americas">
- <option value="Anguilla">Anguilla</option>
- <option value="Antigua and Barbuda">Antigua and Barbuda</option>
- <option value="Argentina">Argentina</option>
- <option value="Aruba">Aruba</option>
- <option value="Bahamas">Bahamas</option>
- <option value="Barbados">Barbados</option>
- <option value="Belize">Belize</option>
- <option value="Bermuda">Bermuda</option>
- <option value="Bolivia">Bolivia</option>
- <option value="Brazil">Brazil</option>
- <option value="British Virgin Islands">British Virgin Islands</option>
- <option value="Canada">Canada</option>
- <option value="Cayman Islands">Cayman Islands</option>
- <option value="Chile">Chile</option>
- <option value="Colombia">Colombia</option>
- <option value="Costa Rica">Costa Rica</option>
- <option value="Cuba">Cuba</option>
- <option value="Dominica">Dominica</option>
- <option value="Dominican Republic">Dominican Republic</option>
- <option value="Ecuador">Ecuador</option>
- <option value="El Salvador">El Salvador</option>
- <option value="Falkland Islands">Falkland Islands</option>
- <option value="French Guiana">French Guiana</option>
- <option value="Greenland">Greenland</option>
- <option value="Grenada">Grenada</option>
- <option value="Guadeloupe">Guadeloupe</option>
- <option value="Guatemala">Guatemala</option>
- <option value="Guyana">Guyana</option>
- <option value="Haiti">Haiti</option>
- <option value="Honduras">Honduras</option>
- <option value="Jamaica">Jamaica</option>
- <option value="Martinique">Martinique</option>
- <option value="Mexico">Mexico</option>
- <option value="Montserrat">Montserrat</option>
- <option value="Netherlands Antilles">Netherlands Antilles</option>
- <option value="Nicaragua">Nicaragua</option>
- <option value="Panama">Panama</option>
- <option value="Paraguay">Paraguay</option>
- <option value="Peru">Peru</option>
- <option value="Puerto Rico">Puerto Rico</option>
- <option value="Saint Barthélemy">Saint Barthélemy</option>
- <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
- <option value="Saint Lucia">Saint Lucia</option>
- <option value="Saint Martin">Saint Martin</option>
- <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
- <option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
- <option value="Suriname">Suriname</option>
- <option value="Trinidad and Tobago">Trinidad and Tobago</option>
- <option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
- <option value="U.S. Virgin Islands">U.S. Virgin Islands</option>
- <option value="United States">United States</option>
- <option value="Uruguay">Uruguay</option>
- <option value="Venezuela">Venezuela</option>
- </optgroup>
- <optgroup id="country-optgroup-Asia" label="Asia">
- <option value="Afghanistan">Afghanistan</option>
- <option value="Armenia">Armenia</option>
- <option value="Azerbaijan">Azerbaijan</option>
- <option value="Bahrain">Bahrain</option>
- <option value="Bangladesh">Bangladesh</option>
- <option value="Bhutan">Bhutan</option>
- <option value="Brunei">Brunei</option>
- <option value="Cambodia">Cambodia</option>
- <option value="China">China</option>
- <option value="Cyprus">Cyprus</option>
- <option value="Georgia">Georgia</option>
- <option value="Hong Kong SAR China">Hong Kong SAR China</option>
- <option value="India">India</option>
- <option value="Indonesia">Indonesia</option>
- <option value="Iran">Iran</option>
- <option value="Iraq">Iraq</option>
- <option value="Israel">Israel</option>
- <option value="Japan">Japan</option>
- <option value="Jordan">Jordan</option>
- <option value="Kazakhstan">Kazakhstan</option>
- <option value="Kuwait">Kuwait</option>
- <option value="Kyrgyzstan">Kyrgyzstan</option>
- <option value="Laos">Laos</option>
- <option value="Lebanon">Lebanon</option>
- <option value="Macau SAR China">Macau SAR China</option>
- <option value="Malaysia">Malaysia</option>
- <option value="Maldives">Maldives</option>
- <option value="Mongolia">Mongolia</option>
- <option value="Myanmar [Burma]">Myanmar [Burma]</option>
- <option value="Nepal">Nepal</option>
- <option value="Neutral Zone">Neutral Zone</option>
- <option value="North Korea">North Korea</option>
- <option value="Oman">Oman</option>
- <option value="Pakistan">Pakistan</option>
- <option value="Palestinian Territories">Palestinian Territories</option>
- <option value="People's Democratic Republic of Yemen">People's Democratic Republic of Yemen</option>
- <option value="Philippines">Philippines</option>
- <option value="Qatar">Qatar</option>
- <option value="Saudi Arabia">Saudi Arabia</option>
- <option value="Singapore">Singapore</option>
- <option value="South Korea">South Korea</option>
- <option value="Sri Lanka">Sri Lanka</option>
- <option value="Syria">Syria</option>
- <option value="Taiwan">Taiwan</option>
- <option value="Tajikistan">Tajikistan</option>
- <option value="Thailand">Thailand</option>
- <option value="Timor-Leste">Timor-Leste</option>
- <option value="Turkey">Turkey</option>
- <option alue="Turkmenistan">Turkmenistan</option>
- <option value="United Arab Emirates">United Arab Emirates</option>
- <option value="Uzbekistan">Uzbekistan</option>
- <option value="Vietnam">Vietnam</option>
- <option value="Yemen">Yemen</option>
- </optgroup>
- <optgroup id="country-optgroup-Europe" label="Europe">
- <option value="Albania">Albania</option>
- <option value="Andorra">Andorra</option>
- <option value="Austria">Austria</option>
- <option value="Belarus">Belarus</option>
- <option value="Belgium">Belgium</option>
- <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
- <option value="Bulgaria">Bulgaria</option>
- <option value="Croatia">Croatia</option>
- <option value="Cyprus">Cyprus</option>
- <option value="Czech Republic">Czech Republic</option>
- <option value="Denmark">Denmark</option>
- <option value="East Germany">East Germany</option>
- <option value="Estonia">Estonia</option>
- <option value="Faroe Islands">Faroe Islands</option>
- <option value="Finland">Finland</option>
- <option value="France">France</option>
- <option value="Germany">Germany</option>
- <option value="Gibraltar">Gibraltar</option>
- <option value="Greece">Greece</option>
- <option value="Guernsey">Guernsey</option>
- <option value="Hungary">Hungary</option>
- <option value="Iceland">Iceland</option>
- <option value="Ireland">Ireland</option>
- <option value="Isle of Man">Isle of Man</option>
- <option value="Italy">Italy</option>
- <option value="Jersey">Jersey</option>
- <option value="Latvia">Latvia</option>
- <option value="Liechtenstein">Liechtenstein</option>
- <option value="Lithuania">Lithuania</option>
- <option value="Luxembourg">Luxembourg</option>
- <option value="Macedonia">Macedonia</option>
- <option value="Malta">Malta</option>
- <option value="Metropolitan France">Metropolitan France</option>
- <option value="Moldova">Moldova</option>
- <option value="Monaco">Monaco</option>
- <option value="Montenegro">Montenegro</option>
- <option value="Netherlands">Netherlands</option>
- <option value="Norway">Norway</option>
- <option value="Poland">Poland</option>
- <option value="Portugal">Portugal</option>
- <option value="Romania">Romania</option>
- <option value="Russia">Russia</option>
- <option value="San Marino">San Marino</option>
- <option value="Serbia">Serbia</option>
- <option value="Serbia and Montenegro">Serbia and Montenegro</option>
- <option value="Slovakia">Slovakia</option>
- <option value="Slovenia">Slovenia</option>
- <option value="Spain">Spain</option>
- <option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
- <option value="Sweden">Sweden</option>
- <option value="Switzerland">Switzerland</option>
- <option value="Ukraine">Ukraine</option>
- <option value="Union of Soviet Socialist Republics">Union of Soviet Socialist Republics</option>
- <option value="United Kingdom">United Kingdom</option>
- <option value="Vatican City">Vatican City</option>
- <option value="Åland Islands">Åland Islands</option>
- </optgroup>
- <optgroup id="country-optgroup-Oceania" label="Oceania">
- <option value="American Samoa">American Samoa</option>
- <option value="Antarctica">Antarctica</option>
- <option value="Australia">Australia</option>
- <option value="Bouvet Island">Bouvet Island</option>
- <option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
- <option value="Christmas Island">Christmas Island</option>
- <option value="Cocos [Keeling] Islands">Cocos [Keeling] Islands</option>
- <option value="Cook Islands">Cook Islands</option>
- <option value="Fiji">Fiji</option>
- <option value="French Polynesia">French Polynesia</option>
- <option value="French Southern Territories">French Southern Territories</option>
- <option value="Guam">Guam</option>
- <option value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
- <option value="Kiribati">Kiribati</option>
- <option value="Marshall Islands">Marshall Islands</option>
- <option value="Micronesia">Micronesia</option>
- <option value="Nauru">Nauru</option>
- <option value="New Caledonia">New Caledonia</option>
- <option value="New Zealand">New Zealand</option>
- <option value="Niue">Niue</option>
- <option value="Norfolk Island">Norfolk Island</option>
- <option value="Northern Mariana Islands">Northern Mariana Islands</option>
- <option value="Palau">Palau</option>
- <option value="Papua New Guinea">Papua New Guinea</option>
- <option value="Pitcairn Islands">Pitcairn Islands</option>
- <option value="Samoa">Samoa</option>
- <option value="Solomon Islands">Solomon Islands</option>
- <option value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
- <option value="Tokelau">Tokelau</option>
- <option value="Tonga">Tonga</option>
- <option value="Tuvalu">Tuvalu</option>
- <option value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands</option>
- <option value="Vanuatu">Vanuatu</option>
- <option value="Wallis and Futuna">Wallis and Futuna</option>
- </optgroup>
- </select>
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/earth.svg">
- <select class="bilsel" id="delivery-state" style="margin-top:8px;width:70%;">
- <option value="" selected>State/Province</option>
- </select>
- </div>
- <div class="billingitem" style="border:none;">
- </div>
- <div id="billing-field" style="position:relative;bottom:35px;right:20px;left:1px;">
- <div class="billingitem bilheader" style="margin-top:0px;"><img src="images/billing.svg" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">BILLING DETAILS</span>
- <span class="switch" id="billing-switch">
- <input id="billing-toggle" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="billing-toggle"></label>
- </span>
- </div>
- <div class="billingitem" style="width:48%;margin-top:5px;">
- <img src="images/name-icon.svg"><input type="text" id="billing-first-name" placeholder="First Name">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/name-icon.svg"><input type="text" id="billing-last-name" placeholder="Last Name">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/location.svg"><input type="text" id="billing-address1" placeholder="Address 1">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/location.svg"><input type="text" id="billing-address2" placeholder="Address 2 (Optional)">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/zip.svg"><input type="text" id="billing-zip" placeholder="Zip Code">
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/city.svg"><input type="text" id="billing-city" placeholder="City">
- </div>
- <div class="billingitem" style="width:48%;margin-top:10px;">
- <img src="images/earth.svg"><select class="bilsel" id="billing-country" style="margin-top:8px;width:70%;">
- <option id="" value="" disabled="" selected="">Country</option>
- <optgroup id="country-optgroup-Africa" label="Africa">
- <option value="Algeria">Algeria</option>
- <option value="Angola">Angola</option>
- <option value="Benin">Benin</option>
- <option value="Botswana">Botswana</option>
- <option value="Burkina Faso">Burkina Faso</option>
- <option value="Burundi">Burundi</option>
- <option value="Cameroon">Cameroon</option>
- <option value="Cape Verde">Cape Verde</option>
- <option value="Central African Republic">Central African Republic</option>
- <option value="Chad">Chad</option>
- <option value="Comoros">Comoros</option>
- <option value="Congo - Brazzaville">Congo - Brazzaville</option>
- <option value="Congo - Kinshasa">Congo - Kinshasa</option>
- <option value="Côte d’Ivoire">Côte d’Ivoire</option>
- <option value="Djibouti">Djibouti</option>
- <option value="Egypt">Egypt</option>
- <option value="Equatorial Guinea">Equatorial Guinea</option>
- <option value="Eritrea">Eritrea</option>
- <option value="Ethiopia">Ethiopia</option>
- <option value="Gabon">Gabon</option>
- <option value="Gambia">Gambia</option>
- <option value="Ghana">Ghana</option>
- <option value="Guinea">Guinea</option>
- <option value="Guinea-Bissau">Guinea-Bissau</option>
- <option value="Kenya">Kenya</option>
- <option value="Lesotho">Lesotho</option>
- <option value="Liberia">Liberia</option>
- <option value="Libya">Libya</option>
- <option value="Madagascar">Madagascar</option>
- <option value="Malawi">Malawi</option>
- <option value="Mali">Mali</option>
- <option value="Mauritania">Mauritania</option>
- <option value="Mauritius">Mauritius</option>
- <option value="Mayotte">Mayotte</option>
- <option value="Morocco">Morocco</option>
- <option value="Mozambique">Mozambique</option>
- <option value="Namibia">Namibia</option>
- <option value="Niger">Niger</option>
- <option value="Nigeria">Nigeria</option>
- <option value="Rwanda">Rwanda</option>
- <option value="Réunion">Réunion</option>
- <option value="Saint Helena">Saint Helena</option>
- <option value="Senegal">Senegal</option>
- <option value="Seychelles">Seychelles</option>
- <option value="Sierra Leone">Sierra Leone</option>
- <option value="Somalia">Somalia</option>
- <option value="South Africa">South Africa</option>
- <option value="Sudan">Sudan</option>
- <option value="Swaziland">Swaziland</option>
- <option value="São Tomé and Príncipe">São Tomé and Príncipe</option>
- <option value="Tanzania">Tanzania</option>
- <option value="Togo">Togo</option>
- <option value="Tunisia">Tunisia</option>
- <option value="Uganda">Uganda</option>
- <option value="Western Sahara">Western Sahara</option>
- <option value="Zambia">Zambia</option>
- <option value="Zimbabwe">Zimbabwe</option>
- </optgroup>
- <optgroup id="country-optgroup-Americas" label="Americas">
- <option value="Anguilla">Anguilla</option>
- <option value="Antigua and Barbuda">Antigua and Barbuda</option>
- <option value="Argentina">Argentina</option>
- <option value="Aruba">Aruba</option>
- <option value="Bahamas">Bahamas</option>
- <option value="Barbados">Barbados</option>
- <option value="Belize">Belize</option>
- <option value="Bermuda">Bermuda</option>
- <option value="Bolivia">Bolivia</option>
- <option value="Brazil">Brazil</option>
- <option value="British Virgin Islands">British Virgin Islands</option>
- <option value="Canada">Canada</option>
- <option value="Cayman Islands">Cayman Islands</option>
- <option value="Chile">Chile</option>
- <option value="Colombia">Colombia</option>
- <option value="Costa Rica">Costa Rica</option>
- <option value="Cuba">Cuba</option>
- <option value="Dominica">Dominica</option>
- <option value="Dominican Republic">Dominican Republic</option>
- <option value="Ecuador">Ecuador</option>
- <option value="El Salvador">El Salvador</option>
- <option value="Falkland Islands">Falkland Islands</option>
- <option value="French Guiana">French Guiana</option>
- <option value="Greenland">Greenland</option>
- <option value="Grenada">Grenada</option>
- <option value="Guadeloupe">Guadeloupe</option>
- <option value="Guatemala">Guatemala</option>
- <option value="Guyana">Guyana</option>
- <option value="Haiti">Haiti</option>
- <option value="Honduras">Honduras</option>
- <option value="Jamaica">Jamaica</option>
- <option value="Martinique">Martinique</option>
- <option value="Mexico">Mexico</option>
- <option value="Montserrat">Montserrat</option>
- <option value="Netherlands Antilles">Netherlands Antilles</option>
- <option value="Nicaragua">Nicaragua</option>
- <option value="Panama">Panama</option>
- <option value="Paraguay">Paraguay</option>
- <option value="Peru">Peru</option>
- <option value="Puerto Rico">Puerto Rico</option>
- <option value="Saint Barthélemy">Saint Barthélemy</option>
- <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
- <option value="Saint Lucia">Saint Lucia</option>
- <option value="Saint Martin">Saint Martin</option>
- <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
- <option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
- <option value="Suriname">Suriname</option>
- <option value="Trinidad and Tobago">Trinidad and Tobago</option>
- <option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
- <option value="U.S. Virgin Islands">U.S. Virgin Islands</option>
- <option value="United States">United States</option>
- <option value="Uruguay">Uruguay</option>
- <option value="Venezuela">Venezuela</option>
- </optgroup>
- <optgroup id="country-optgroup-Asia" label="Asia">
- <option value="Afghanistan">Afghanistan</option>
- <option value="Armenia">Armenia</option>
- <option value="Azerbaijan">Azerbaijan</option>
- <option value="Bahrain">Bahrain</option>
- <option value="Bangladesh">Bangladesh</option>
- <option value="Bhutan">Bhutan</option>
- <option value="Brunei">Brunei</option>
- <option value="Cambodia">Cambodia</option>
- <option value="China">China</option>
- <option value="Cyprus">Cyprus</option>
- <option value="Georgia">Georgia</option>
- <option value="Hong Kong SAR China">Hong Kong SAR China</option>
- <option value="India">India</option>
- <option value="Indonesia">Indonesia</option>
- <option value="Iran">Iran</option>
- <option value="Iraq">Iraq</option>
- <option value="Israel">Israel</option>
- <option value="Japan">Japan</option>
- <option value="Jordan">Jordan</option>
- <option value="Kazakhstan">Kazakhstan</option>
- <option value="Kuwait">Kuwait</option>
- <option value="Kyrgyzstan">Kyrgyzstan</option>
- <option value="Laos">Laos</option>
- <option value="Lebanon">Lebanon</option>
- <option value="Macau SAR China">Macau SAR China</option>
- <option value="Malaysia">Malaysia</option>
- <option value="Maldives">Maldives</option>
- <option value="Mongolia">Mongolia</option>
- <option value="Myanmar [Burma]">Myanmar [Burma]</option>
- <option value="Nepal">Nepal</option>
- <option value="Neutral Zone">Neutral Zone</option>
- <option value="North Korea">North Korea</option>
- <option value="Oman">Oman</option>
- <option value="Pakistan">Pakistan</option>
- <option value="Palestinian Territories">Palestinian Territories</option>
- <option value="People's Democratic Republic of Yemen">People's Democratic Republic of Yemen</option>
- <option value="Philippines">Philippines</option>
- <option value="Qatar">Qatar</option>
- <option value="Saudi Arabia">Saudi Arabia</option>
- <option value="Singapore">Singapore</option>
- <option value="South Korea">South Korea</option>
- <option value="Sri Lanka">Sri Lanka</option>
- <option value="Syria">Syria</option>
- <option value="Taiwan">Taiwan</option>
- <option value="Tajikistan">Tajikistan</option>
- <option value="Thailand">Thailand</option>
- <option value="Timor-Leste">Timor-Leste</option>
- <option value="Turkey">Turkey</option>
- <option alue="Turkmenistan">Turkmenistan</option>
- <option value="United Arab Emirates">United Arab Emirates</option>
- <option value="Uzbekistan">Uzbekistan</option>
- <option value="Vietnam">Vietnam</option>
- <option value="Yemen">Yemen</option>
- </optgroup>
- <optgroup id="country-optgroup-Europe" label="Europe">
- <option value="Albania">Albania</option>
- <option value="Andorra">Andorra</option>
- <option value="Austria">Austria</option>
- <option value="Belarus">Belarus</option>
- <option value="Belgium">Belgium</option>
- <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
- <option value="Bulgaria">Bulgaria</option>
- <option value="Croatia">Croatia</option>
- <option value="Cyprus">Cyprus</option>
- <option value="Czech Republic">Czech Republic</option>
- <option value="Denmark">Denmark</option>
- <option value="East Germany">East Germany</option>
- <option value="Estonia">Estonia</option>
- <option value="Faroe Islands">Faroe Islands</option>
- <option value="Finland">Finland</option>
- <option value="France">France</option>
- <option value="Germany">Germany</option>
- <option value="Gibraltar">Gibraltar</option>
- <option value="Greece">Greece</option>
- <option value="Guernsey">Guernsey</option>
- <option value="Hungary">Hungary</option>
- <option value="Iceland">Iceland</option>
- <option value="Ireland">Ireland</option>
- <option value="Isle of Man">Isle of Man</option>
- <option value="Italy">Italy</option>
- <option value="Jersey">Jersey</option>
- <option value="Latvia">Latvia</option>
- <option value="Liechtenstein">Liechtenstein</option>
- <option value="Lithuania">Lithuania</option>
- <option value="Luxembourg">Luxembourg</option>
- <option value="Macedonia">Macedonia</option>
- <option value="Malta">Malta</option>
- <option value="Metropolitan France">Metropolitan France</option>
- <option value="Moldova">Moldova</option>
- <option value="Monaco">Monaco</option>
- <option value="Montenegro">Montenegro</option>
- <option value="Netherlands">Netherlands</option>
- <option value="Norway">Norway</option>
- <option value="Poland">Poland</option>
- <option value="Portugal">Portugal</option>
- <option value="Romania">Romania</option>
- <option value="Russia">Russia</option>
- <option value="San Marino">San Marino</option>
- <option value="Serbia">Serbia</option>
- <option value="Serbia and Montenegro">Serbia and Montenegro</option>
- <option value="Slovakia">Slovakia</option>
- <option value="Slovenia">Slovenia</option>
- <option value="Spain">Spain</option>
- <option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
- <option value="Sweden">Sweden</option>
- <option value="Switzerland">Switzerland</option>
- <option value="Ukraine">Ukraine</option>
- <option value="Union of Soviet Socialist Republics">Union of Soviet Socialist Republics</option>
- <option value="United Kingdom">United Kingdom</option>
- <option value="Vatican City">Vatican City</option>
- <option value="Åland Islands">Åland Islands</option>
- </optgroup>
- <optgroup id="country-optgroup-Oceania" label="Oceania">
- <option value="American Samoa">American Samoa</option>
- <option value="Antarctica">Antarctica</option>
- <option value="Australia">Australia</option>
- <option value="Bouvet Island">Bouvet Island</option>
- <option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
- <option value="Christmas Island">Christmas Island</option>
- <option value="Cocos [Keeling] Islands">Cocos [Keeling] Islands</option>
- <option value="Cook Islands">Cook Islands</option>
- <option value="Fiji">Fiji</option>
- <option value="French Polynesia">French Polynesia</option>
- <option value="French Southern Territories">French Southern Territories</option>
- <option value="Guam">Guam</option>
- <option value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
- <option value="Kiribati">Kiribati</option>
- <option value="Marshall Islands">Marshall Islands</option>
- <option value="Micronesia">Micronesia</option>
- <option value="Nauru">Nauru</option>
- <option value="New Caledonia">New Caledonia</option>
- <option value="New Zealand">New Zealand</option>
- <option value="Niue">Niue</option>
- <option value="Norfolk Island">Norfolk Island</option>
- <option value="Northern Mariana Islands">Northern Mariana Islands</option>
- <option value="Palau">Palau</option>
- <option value="Papua New Guinea">Papua New Guinea</option>
- <option value="Pitcairn Islands">Pitcairn Islands</option>
- <option value="Samoa">Samoa</option>
- <option value="Solomon Islands">Solomon Islands</option>
- <option value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
- <option value="Tokelau">Tokelau</option>
- <option value="Tonga">Tonga</option>
- <option value="Tuvalu">Tuvalu</option>
- <option value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands</option>
- <option value="Vanuatu">Vanuatu</option>
- <option value="Wallis and Futuna">Wallis and Futuna</option>
- </optgroup>
- </select>
- </div>
- <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
- <img src="images/earth.svg"><select class="bilsel" id="billing-state" style="margin-top:8px;width:70%;">
- <option value="" selected>State/Province</option>
- </select>
- </div></div><div class="billingitem bilheader" style="margin-top:25px;"><img src="images/checkout.png" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">ONE CHECKOUT PER PROFILE</span>
- <span class="switch" id="one-checkout-switch">
- <input id="one-checkout" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
- <label for="one-checkout"></label>
- </span>
- </div>
- </div>
- </div>
- </div>
- <script>
- let mousedown = false;
- let selected = 'tasks_page';
- let changing = !1;
- function OpenLinkInput(){
- swal({
- title: 'Mass Link Change',
- content: {
- element: "input",
- attributes: {
- placeholder: "Input link",
- }},
- button: {
- text: "Set",
- },
- })
- .then(link => {
- if(link){
- setMassLink(link);
- swal("Success","Successfully set link to all corresponding tasks","success", {buttons:{visible:false}, timer: 1000})}})
- }
- function sortTable(n) {
- var table, rows, switching, i, x, y, shouldSwitch, dir, switchcount = 0;
- table = document.getElementById("tasks_page");
- switching = true;
- // Set the sorting direction to ascending:
- dir = "asc";
- /* Make a loop that will continue until
- no switching has been done: */
- while (switching) {
- // Start by saying: no switching is done:
- switching = false;
- rows = table.getElementsByTagName("tr");
- /* Loop through all table rows (except the
- first, which contains table headers): */
- for (i = 1; i < (rows.length - 1); i++) {
- // Start by saying there should be no switching:
- shouldSwitch = false;
- /* Get the two elements you want to compare,
- one from current row and one from the next: */
- x = rows[i].getElementsByTagName("th")[n];
- y = rows[i + 1].getElementsByTagName("th")[n];
- /* Check if the two rows should switch place,
- based on the direction, asc or desc: */
- if (dir == "asc") {
- if(!isNaN(parseInt(x.innerHTML.toLowerCase()))){
- if (parseInt(x.innerHTML.toLowerCase()) > parseInt(y.innerHTML.toLowerCase())){
- // If so, mark as a switch and break the loop:
- shouldSwitch= true;
- break;
- }
- }
- else{
- if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()){
- // If so, mark as a switch and break the loop:
- shouldSwitch= true;
- break;
- }
- }
- } else if (dir == "desc") {
- if(!isNaN(parseInt(x.innerHTML.toLowerCase()))){
- if (parseInt(x.innerHTML.toLowerCase()) < parseInt(y.innerHTML.toLowerCase())){
- // If so, mark as a switch and break the loop:
- shouldSwitch= true;
- break;
- }
- }
- else{
- if (x.innerHTML.toLowerCase() < y.innerHTML.toLowerCase()){
- // If so, mark as a switch and break the loop:
- shouldSwitch= true;
- break;
- }
- }
- }
- }
- if (shouldSwitch) {
- /* If a switch has been marked, make the switch
- and mark that a switch has been done: */
- rows[i].parentNode.insertBefore(rows[i + 1], rows[i]);
- switching = true;
- // Each time a switch is done, increase this count by 1:
- switchcount ++;
- } else {
- /* If no switching has been done AND the direction is "asc",
- set the direction to "desc" and run the while loop again. */
- if (switchcount == 0 && dir == "asc") {
- dir = "desc";
- switching = true;
- }
- }
- }
- }
- function changeActive(id) {
- if (id != selected && !changing) {
- changing = !0;
- document.getElementById(selected).style.opacity = 0;
- document.getElementById(selected + '_btn').classList.remove('active');
- document.getElementById(id).style.display = 'block';
- setTimeout(() => {
- document.getElementById(selected).style = 'display:none;opacity:0';
- document.getElementById(id).style.opacity = 1;
- selected = id;
- changing = !1;
- resize_table()
- }, 300);
- document.getElementById(id + '_btn').className = 'active'
- } else if (id != selected && changing) {
- setTimeout(function() {
- changeActive(id)
- }, 0)
- }
- }
- function changeActive(id) {
- if (id != selected && !changing) {
- changing = !0;
- document.getElementById(selected).style.opacity = 0;
- document.getElementById(selected + '_btn').classList.remove('active');
- document.getElementById(id).style.display = 'block';
- setTimeout(() => {
- document.getElementById(selected).style = 'display:none;opacity:0';
- document.getElementById(id).style.opacity = 1;
- selected = id;
- changing = !1;
- resize_table()
- }, 300);
- document.getElementById(id + '_btn').className = 'active'
- } else if (id != selected && changing) {
- setTimeout(function() {
- changeActive(id)
- }, 0)
- }
- }
- window.addEventListener('resize', resize_table = () => {
- let window_width = $(window).width();
- let window_height = $(window).height();
- let tdsizes = {};
- if (selected === 'tasks_page') {
- tdsizes = {
- td1: Math.round(window_width / 27.2),
- td2: Math.round(window_width / 9.5),
- td3: Math.round(window_width / 5.913),
- td4: Math.round(window_width / 13.6),
- td5: Math.round(window_width / 7.5),
- td6: Math.round(window_width / 12.364),
- td7: Math.round(window_width / 9.714),
- td8: Math.round(window_width / 7)
- }
- } else if (selected === 'proxies_page') {
- tdsizes = {
- ptd1: Math.round(window_width / 27.2),
- ptd2: Math.round(window_width / 7),
- ptd3: Math.round(window_width / 7),
- ptd4: Math.round(window_width / 7),
- ptd5: Math.round(window_width / 7),
- ptd6: Math.round(window_width / 7),
- ptd7: Math.round(window_width / 8),
- ptd8: Math.round(window_width / 10),
- }
- } else if (selected === 'settings_page') {
- if (window_width >= 1073) {
- $('.settingsdiv .quantity').css('margin-top', '-4px')
- } else {
- $('.settingsdiv .quantity').css('margin-top', '-32px')
- }
- }
- for (let key of Object.keys(tdsizes)) {
- $(`.${key}`).css({
- "width": `${tdsizes[key]}px`,
- "max-width": `${tdsizes[key]}px`,
- "min-width": `${tdsizes[key]}px`,
- "margin-right": "px",
- "padding-left": "5px",
- })
- }
- }, !0);
- document.addEventListener('DOMContentLoaded', () => {
- $('#keyinput').val('error'.toUpperCase());
- resize_table()
- });
- let profiles = {};
- $('#save-profile').click(function() {
- let profile = {};
- let cont = !0;
- if ($('#billing-profile-name').val().replace(/ /g, '') === "" || $('#billing-profile-name').val().replace(/ /g, '') == "-") {
- $('#billing-profile-name').parent('div').css('border-bottom', '2px solid red');
- cont = !1
- }
- $('#billing_page input:enabled[type=text]').not('#delivery-address2').not('#billing-address2').each(function(){
- if(!$(this).val() && !$(this).attr('id').includes("billing")){
- $(this).parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- });
- $('#billing_page select').not('#load_profile_select').each(function(i) {
- if(!$(this).val() && !$(this).attr('id').includes("billing")){
- if($(this).attr('id') == 'payment-card-expiry-month' || $(this).attr('id') == 'payment-card-expiry-year'){
- $(this).parent('div').parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- else{
- $(this).parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- }
- });
- $('#billing-field input:enabled[type=text]').not('#delivery-address2').not('#billing-address2').each(function(){
- if(!$(this).val()){
- $(this).parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- });
- $('#billing-field select:enabled').not('#load_profile_select').each(function(i) {
- if(!$(this).val()){
- if($(this).attr('id') == 'payment-card-expiry-month' || $(this).attr('id') == 'payment-card-expiry-year'){
- $(this).parent('div').parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- else{
- $(this).parent('div').css('border-bottom', '2px solid red')
- cont = !1
- }
- }
- });
- if (cont) {
- profile.name = $('#billing-profile-name').val();
- profile.payment = {
- email: $('#payment-email').val(),
- phone: $('#payment-phone').val(),
- card: {
- name: $('#payment-card-name').val(),
- number: $('#payment-card-number').val(),
- exp_month: $('#payment-card-expiry-month').val(),
- exp_year: $('#payment-card-expiry-year').val(),
- cvv: $('#payment-card-cvv').val()
- }
- };
- profile.delivery = {
- first_name: $('#delivery-first-name').val(),
- last_name: $('#delivery-last-name').val(),
- addr1: $('#delivery-address1').val(),
- addr2: $('#delivery-address2').val(),
- zip: $('#delivery-zip').val(),
- city: $('#delivery-city').val(),
- country: $('#delivery-country').val(),
- state: $('#delivery-state').val()
- };
- if ($('#billing-toggle').prop("checked")) {
- profile.billing = {
- first_name: $('#billing-first-name').val(),
- last_name: $('#billing-last-name').val(),
- addr1: $('#billing-address1').val(),
- addr2: $('#billing-address2').val(),
- zip: $('#billing-zip').val(),
- city: $('#billing-city').val(),
- country: $('#billing-country').val(),
- state: $('#billing-state').val()
- }
- profile.billing.same_as_del = !0
- } else {
- profile.billing = profile.delivery;
- profile.billing.same_as_del = !1
- }
- profile.one_checkout = $('#one-checkout').prop('checked');
- profiles[profile.name] = profile;
- update_profile_selects();
- clear_profile_page()
- }
- });
- function load_profile(profile) {
- try {
- clear_profile_page();
- $('#billing-profile-name').val(profile.name);
- $('#payment-email').val(profile.payment.email);
- $('#payment-phone').val(profile.payment.phone);
- $('#payment-card-name').val(profile.payment.card.name);
- $('#payment-card-number').val(profile.payment.card.number);
- $('#payment-card-expiry-month').val(profile.payment.card.exp_month);
- $('#payment-card-expiry-year').val(profile.payment.card.exp_year);
- $('#payment-card-cvv').val(profile.payment.card.cvv);
- $('#delivery-first-name').val(profile.delivery.first_name);
- $('#delivery-last-name').val(profile.delivery.last_name);
- $('#delivery-address1').val(profile.delivery.addr1);
- $('#delivery-address2').val(profile.delivery.addr2);
- $('#delivery-zip').val(profile.delivery.zip);
- $('#delivery-city').val(profile.delivery.city);
- $('#delivery-country').val(profile.delivery.country);
- $('#billing-first-name').val(profile.billing.first_name);
- $('#billing-last-name').val(profile.billing.last_name);
- $('#billing-address1').val(profile.billing.addr1);
- $('#billing-address2').val(profile.billing.addr2);
- $('#billing-zip').val(profile.billing.zip);
- $('#billing-city').val(profile.billing.city);
- $('#billing-country').val(profile.billing.country);
- loadDeliveryStates();
- loadBillingStates();
- $('#delivery-state').val(profile.delivery.state);
- $('#billing-state').val(profile.billing.state);
- if (!profile.billing.same_as_del) {
- $('#billing-toggle').prop("checked", !0).trigger('click')
- } else {
- $('#billing-toggle').prop("checked", !1).trigger('click')
- }
- profile.one_checkout ? $('#one-checkout').prop('checked', !0).trigger('change') : $('#one-checkout').prop('checked', !1).trigger("change")
- } catch (err) {
- console.log(err);
- }
- }
- function delete_profile() {
- delete profiles[$('#billing-profile-name').val()];
- update_profile_selects();
- clear_profile_page()
- }
- function update_profile_selects() {
- let htmlstring = '<option value="" selected>-</option>\n';
- for (let single of Object.keys(profiles)) {
- htmlstring += `<option>${single}</option>\n`
- }
- $('.profileselect').html(htmlstring);
- setProfiles()
- }
- let tagslock = !1;
- $('#datetimepicker2').datetimepicker({
- language: 'en',
- pick12HourFormat: !0,
- pickDate: !1
- });
- $('#datetimepicker3').datetimepicker({
- language: 'en',
- pick12HourFormat: !0,
- pickTime: !1
- });
- $('.date').datepicker({
- orientation: 'left bottom',
- autoclose: !0,
- startDate: 'now',
- });
- $('.clickforkeyword').click(function() {
- if ($('.js-example-basic-single').select2('data')[0].text !== 'Supreme') {
- $('.bootstrap-tagsinput input').focus()
- }
- });
- var elt = $('#tagsinput');
- elt.tagsinput({
- tagClass: function(item) {
- if (item.startsWith('http') && !tagslock) {
- $('#tagsinput').tagsinput('removeAll');
- return 'label label-primary'
- } else {
- return item.startsWith('-') ? 'label label-danger label-important' : 'label label-success'
- }
- },
- itemText: function(item) {
- if (item.startsWith('-')) {
- return item.split('-')[1]
- } else if (item.startsWith('+')) {
- return item.split('+')[1]
- } else {
- return item
- }
- },
- });
- const isValidUrl = (string) => {
- try {
- new URL(string);
- return !0
- } catch (_) {
- return !1
- }
- }
- $('#tagsinput').on('beforeItemAdd', function(event) {
- event.cancel = tagslock;
- if ((modal_state == "URL" || modal_state == "Keywords/URL") && isValidUrl(event.item)) {
- tagslock = !0
- } else if (modal_state === "SKU" || modal_state === "SKU ") {
- if (isValidUrl(event.item)) {
- event.cancel = !0
- } else {
- tagslock = !0
- }
- }
- if (modal_state === "URL" && !isValidUrl(event.item)) {
- event.cancel = !0
- }
- });
- $('#tagsinput').on('beforeItemRemove', function(event) {
- if (tagslock) {
- tagslock = !1
- }
- });
- $('#switch4datetime').change(function() {
- if ($(this).children('input').prop('checked')) {
- $(this).parent('.addtaskdiv').css('height', '90px');
- $('#div4proxy').css('margin-top', '-90px');
- $('.removeme').css('display', 'none')
- } else {
- $(this).parent('.addtaskdiv').css('height', '40px');
- $('#div4proxy').css('margin-top', '-40px');
- $('.removeme').css('display', 'block')
- }
- });
- $('#toggle4proxy').change(function() {
- if ($(this).children('input').prop('checked')) {
- $(this).parent('.addtaskdiv').css('height', '90px');
- $('#proxyinput').focus()
- } else {
- $(this).parent('.addtaskdiv').css('height', '40px')
- }
- });
- $('#tagsinput').on('itemAdded', function(event) {
- $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
- });
- $('#specialone').click(function() {
- if ($('.js-example-basic-single').select2('data')[0].text === 'Supreme') {
- $('#categoryinput').trigger('open')
- }
- })
- $('#tagsinput').on('itemRemoved', function(event) {
- $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
- });
- $('#tagsinput').on('itemAddedOnInit', function(event) {
- $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
- });
- $('#billing_page select').focusin(function() {
- if ($(this)[0].name == "billing_card_expiry_month" || $(this)[0].name == "billing_card_expiry_year") {
- $(this).parent('div').parent('div').css('border-bottom', '2px solid #c2c2c2')
- } else {
- $(this).parent('div').css('border-bottom', '2px solid #c2c2c2')
- }
- });
- $('#billing_page select').focusout(function() {
- if ($(this)[0].name == "billing_card_expiry_month" || $(this)[0].name == "billing_card_expiry_year") {
- $(this).parent('div').parent('div').css('border-bottom', '2px solid #28252f')
- } else {
- $(this).parent('div').css('border-bottom', '2px solid #28252f')
- }
- });
- $('.bootstrap-tagsinput input').focusin(function() {
- $('#tagsdiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('.bootstrap-tagsinput input').focusout(function() {
- $('#tagsdiv').css('border-bottom', '2px solid #28252f')
- });
- $('.js-example-basic-single').on('select2:opening', function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('.js-example-basic-single').on('select2:closing', function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
- });
- $('.logininput').focusin(function() {
- $('#logindiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('.logininput').focusout(function() {
- $('#logindiv').css('border-bottom', '2px solid #28252f')
- });
- let modal_state = "Keywords";
- $('#store-dropdown').on('change', function() {
- let selected = $('.js-example-basic-single').select2('data')[0].text;
- let group = $('select option[value="' + selected + '"]').closest('optgroup').attr('label') ? $('select option[value="' + selected + '"]').closest('optgroup').attr('label') : $('select option[value="' + selected + '"]').attr('value')
- if (group == 'Supreme') {
- modal_state = "Keywords";
- $('#colordiv').css('height', '40px')
- $('#colordiv').css('border-bottom', '2px solid #28252f')
- $('#colordiv').css('margin-top', '10px')
- $('#colordiv').css('padding-top', '8px')
- $('#colordiv').css('padding-left', '10px')
- $('.clickforkeyword').css('display', 'none')
- $('#logindiv').css('height', '0px')
- setTimeout(() => {
- $('#logindiv').css('border', 'none')
- $('#logindiv').css('margin', '0px')
- $('#logindiv').css('padding', '0px')
- }, 200)
- } else if (group == 'Shopify') {
- modal_state = "Keywords/URL"
- $('#logindiv').css('height', '40px');
- $('#logindiv').css('border-bottom', '2px solid #28252f');
- $('#logindiv').css('margin-top', '10px');
- $('#logindiv').css('padding-top', '8px');
- $('#logindiv').css('padding-left', '10px');
- $('#colordiv').css('height', '0px');
- setTimeout(() => {
- $('#colordiv').css('border', 'none');
- $('#colordiv').css('margin', '0px');
- $('#colordiv').css('padding', '0px')
- }, 200)
- } else if (group == 'Footsites') {
- if(selected == "Footlocker EU"){
- modal_state = "SKU ";
- }
- else{
- modal_state = "URL";
- }
- $('#colordiv').css('height', '0px');
- setTimeout(() => {
- $('#colordiv').css('border', 'none');
- $('#colordiv').css('margin', '0px');
- $('#colordiv').css('padding', '0px')
- }, 200);
- $('#logindiv').css('height', '0px');
- setTimeout(() => {
- $('#logindiv').css('border', 'none');
- $('#logindiv').css('margin', '0px');
- $('#logindiv').css('padding', '0px')
- }, 200)
- } else if (group == 'Off-White') {
- modal_state = "URL";
- $('#colordiv').css('height', '0px');
- setTimeout(() => {
- $('#colordiv').css('border', 'none');
- $('#colordiv').css('margin', '0px');
- $('#colordiv').css('padding', '0px')
- }, 200);
- $('#logindiv').css('height', '0px');
- setTimeout(() => {
- $('#logindiv').css('border', 'none');
- $('#logindiv').css('margin', '0px');
- $('#logindiv').css('padding', '0px')
- }, 200)
- } else if (group == 'Mesh') {
- modal_state = "SKU"
- $('#colordiv').css('height', '0px');
- setTimeout(() => {
- $('#colordiv').css('border', 'none');
- $('#colordiv').css('margin', '0px');
- $('#colordiv').css('padding', '0px')
- }, 200);
- $('#logindiv').css('height', '0px');
- setTimeout(() => {
- $('#logindiv').css('border', 'none');
- $('#logindiv').css('margin', '0px');
- $('#logindiv').css('padding', '0px')
- }, 200)
- } else if (group == 'Lacoste') {
- modal_state = "PID"
- $('#colordiv').css('height', '0px');
- setTimeout(() => {
- $('#colordiv').css('border', 'none');
- $('#colordiv').css('margin', '0px');
- $('#colordiv').css('padding', '0px')
- }, 200);
- $('#logindiv').css('height', '0px');
- setTimeout(() => {
- $('#logindiv').css('border', 'none');
- $('#logindiv').css('margin', '0px');
- $('#logindiv').css('padding', '0px')
- }, 200)
- }
- if (modal_state !== $('#keyword_span').html()) {
- $('#keyword_span').html(modal_state);
- $('#tagsinput').tagsinput('removeAll');
- tagslock = !1;
- if (modal_state === "SKU") {
- $('.bootstrap-tagsinput input').prop({
- 'type': 'number'
- })
- } else {
- $('.bootstrap-tagsinput input').prop({
- 'type': 'text'
- })
- }
- }
- });
- $('.bootstrap-tagsinput input').keyup(function() {
- if ($(this).val().length > 6 && modal_state === "SKU") {
- $(this).val($(this).val().substring(0, 6))
- }
- });
- $('.addtaskdiv select').focusin(function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('.addtaskdiv select').focusout(function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
- });
- $('#colorinput').focusin(function() {
- $('#colordiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('#colorinput').focusout(function() {
- $('#colordiv').css('border-bottom', '2px solid #28252f')
- });
- $('#proxyinput').focusin(function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
- });
- $('#proxyinput').focusout(function() {
- $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
- });
- let secondline = !1;
- let widthofdiv = 0;
- $('.quantity-button').click(function() {
- if ($(this).hasClass('quantity-up')) {
- $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').val()) + parseInt($(this).parent().parent().find('input').attr('step')))
- } else if ($(this).hasClass('quantity-down')) {
- if (parseInt($(this).parent().parent().find('input').val()) - parseInt($(this).parent().parent().find('input').attr('step')) < parseInt($(this).parent().parent().find('input').attr('min'))) {
- $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').attr('min')))
- } else {
- $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').val()) - parseInt($(this).parent().parent().find('input').attr('step')))
- }
- }
- });
- let proxies = 0,
- proxy_list = [];
- $('#addproxiesbutton').click(function() {
- let ips = $('#proxiesarea').val().split('\n');
- let new_proxies = [];
- $('#proxiesarea').val('');
- for (let ip of ips) {
- if (ip) {
- let proxy = {
- id: proxies++,
- proxy: ip.replace(/ /g,'')
- };
- new_proxies.push(proxy);
- proxy_list.push(proxy);
- }
- }
- add_proxy_row(new_proxies);
- setProxies()
- });
- $('#new_profile_btn').click(clear_profile_page);
- function updateProxyRow(id, status, row, _color) {
- $('#prow' + id).find('.ptd' + row).html(status).css({
- color: _color
- })
- }
- function clear_profile_page() {
- $('#billing_page input').parent('div').css('border-bottom', '');
- $('#billing_page select').parent('div').css('border-bottom', '');
- $('#billing_page input').val('');
- $('#billing_page select').not('#load_profile_select').val('')
- };
- $('#load_profile_select').change(function() {
- load_profile(profiles[$(this).children(":selected").html()])
- });
- $('.billingitem input').focusin(function() {
- $(this).parent().css('border-bottom', '2px solid #c2c2c2')
- });
- $('.billingitem input').focusout(function() {
- $(this).parent().css('border-bottom', '2px solid #28252f')
- });
- $('#keyinput').keydown(function(e) {
- setTimeout(() => {
- $(this).val($(this).val().toUpperCase())
- }, 0)
- });
- $('#showlicensekey').click(function() {
- if ($('#keyinput').attr('type') === 'password') {
- $('#keyinput').attr('type', 'text');
- $(this).html('<img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Hide Key')
- } else {
- $('#keyinput').attr('type', 'password');
- $(this).html('<img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;"> Show Key')
- }
- });
- $('#emptyfillerdiv').click(function() {
- $('#keywordinput').focus()
- })
- $(document).ready(function() {
- $('.js-example-basic-single').select2({
- placeholder: 'Select an option',
- });
- $('#datetimepicker2 input').val('now')
- });
- $('#billing-toggle').prop('checked', !0).trigger('change');
- function updateTable(message, color, id, cell) {
- $(`#row${id} th:nth-child(${cell+1})`).html(message).css('color', color)
- }
- function resetModalBorder() {
- $('#sitediv').css('border-bottom', '2px solid #28252f');
- $('#profileinput').parent('div').css('border-bottom', '2px solid #28252f');
- $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid #28252f')
- }
- $('#addtaskbtn').click(function() {
- let add = !0;
- if ($('.js-example-basic-single').select2('data')[0].element.index === 0) {
- $('#sitediv').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#profileinput').val()) {
- $('#profileinput').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#tagsinput').val()) {
- $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#profileinput').val()) {
- $('#profileinput').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (add) {
- let today = "";
- let now = "";
- if ($('.input-group.date').children('input').val() === 'today') {
- let date = new Date();
- today = date.getUTCDate().toString() + "/" + (date.getUTCMonth() + 1).toString() + "/" +date.getUTCFullYear().toString()
- } else {
- today = $('.input-group.date').children('input').val()
- }
- if ($('#datetimepicker2').children('input').val() === 'now') {
- let date = new Date();
- now = date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString()
- } else {
- now = $('#datetimepicker2').children('input').val()
- }
- let task = {
- store: $('.js-example-basic-single').select2('data')[0].text,
- size: $('#sizeslect').val(),
- profile: $('#profileinput').children(":selected").html(),
- afk: !$('#switch4datetime').children('input').prop('checked') ? !1 : new Date(today.split('/')[1] + "/" + today.split('/')[0] + "/" + today.split('/')[2] + " " + now).getTime(),
- proxy: !$('#toggle4proxy').children('input').prop('checked') ? !1 : $('#proxyinput').val(),
- keywords: $("#tagsinput").val(),
- login: !$('.js-example-basic-single').select2('data')[0].element.index >= 8 ? !1 : !$('#logintoggle').prop('checked') ? !1 : $('#usernameinput').val().length > 0 && $('#passwordinput').val().length > 0 ? {
- username: $('#usernameinput').val(),
- password: $('#passwordinput').val()
- } : !1,
- supreme: $('.js-example-basic-single').select2('data')[0].text === "Supreme" ? {
- color: $('#colorinput').val().length > 0 ? $('#colorinput').val() : !1,
- random: $('#ramdomcolortoggle').children('input').prop('checked'),
- category: $('#categoryinput').children(":selected").html(),
- } : !1,
- name: "",
- started: !1,
- };
- let new_tasks = [];
- for (let i = 0; i < parseInt($('#amountinput').val()); i++) {
- new_tasks.push(JSON.parse(JSON.stringify(task)));
- }
- addTask(new_tasks, true);
- }
- });
- $('#updatetaskbtn').click(function() {
- let add = !0;
- if ($('.js-example-basic-single').select2('data')[0].element.index === 0) {
- $('#sitediv').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#profileinput').val()) {
- $('#profileinput').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#tagsinput').val()) {
- $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (!$('#profileinput').val()) {
- $('#profileinput').parent('div').css('border-bottom', '2px solid red');
- add = !1
- }
- if (add) {
- stopTask(JSON.stringify({0:tasklist[editing]}));
- let today = "";
- let now = "";
- if ($('.input-group.date').children('input').val() === 'today') {
- let date = new Date();
- today = date.getUTCDate().toString() + "/" + (date.getUTCMonth() + 1).toString() + "/" + date.getUTCFullYear().toString()
- } else {
- today = $('.input-group.date').children('input').val()
- }
- if ($('#datetimepicker2').children('input').val() === 'now') {
- let date = new Date();
- now = date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString()
- } else {
- now = $('#datetimepicker2').children('input').val()
- }
- let task = {
- store: $('.js-example-basic-single').select2('data')[0].text,
- size: $('#sizeslect').val(),
- profile: $('#profileinput').children(":selected").html(),
- afk: !$('#switch4datetime').children('input').prop('checked') ? !1 : new Date(today.split('/')[1] + "/" + today.split('/')[0] + "/" + today.split('/')[2] + " " + now).getTime(),
- proxy: !$('#toggle4proxy').children('input').prop('checked') ? !1 : $('#proxyinput').val(),
- keywords: $("#tagsinput").val(),
- login: !$('.js-example-basic-single').select2('data')[0].element.index >= 8 ? !1 : !$('#logintoggle').prop('checked') ? !1 : $('#usernameinput').val().length > 0 && $('#passwordinput').val().length > 0 ? {
- username: $('#usernameinput').val(),
- password: $('#passwordinput').val()
- } : !1,
- supreme: $('.js-example-basic-single').select2('data')[0].text === "Supreme" ? {
- color: $('#colorinput').val().length > 0 ? $('#colorinput').val() : !1,
- random: $('#ramdomcolortoggle').children('input').prop('checked'),
- category: $('#categoryinput').children(":selected").html(),
- } : !1,
- name: "",
- started: !1,
- id: tasklist[editing].id,
- };
- tasklist[editing] = task;
- let r_index = $(`#row${editing}`).index();
- $(`#row${editing}`).remove();
- addTableRow(editing, r_index);
- $('#myModal').modal('toggle')
- }
- });
- let tasklist = {};
- let tasks = 0;
- let table = 0;
- let editing = !1;
- let editing_row = !1;
- function loadTasks(tasksobject) {
- let tasks = JSON.parse(tasksobject);
- let new_tasks = [];
- for (let key of Object.keys(tasks)) {
- new_tasks.push(tasks[key])
- }
- addTask(new_tasks, !1)
- };
- function loadProfiles(profilesobject) {
- profiles = JSON.parse(profilesobject);
- update_profile_selects()
- };
- function loadProxies(proxiesarray) {
- for (let _proxy of JSON.parse(proxiesarray)) {
- proxy = _proxy;
- proxy["id"] = proxies;
- proxy_list.push(proxy);
- proxies++;
- }
- add_proxy_row(proxy_list);
- };
- function importProfiles(profiles) {
- swal({
- title: "Are you sure?",
- text: "Importing profiles will overwrite existing ones!",
- icon: "warning",
- buttons: ["Cancel", "Yes"],
- }).then((to_import) => {
- if (to_import) {
- try {
- loadProfiles(profiles);
- swal("Success", "Successfully imported profiles!", "success", {
- timer: 1500
- })
- } catch (err) {
- swal("Error", "There was an error importing profiles. Please make sure they are in the right format (json).", "error")
- }
- }
- })
- }
- function addTask(task_list, set = !0) {
- for (var i = 0; i < task_list.length; i++) {
- let task = task_list[i];
- task.id = tasks;
- tasklist[tasks] = task;
- tasks++;
- }
- addTableRows(task_list, !1);
- if (set) {
- setTasks()
- }
- }
- function add_proxy_row(proxies) {
- let html = "";
- let proxybody = document.getElementById('proxybody');
- for (var i = 0; i < proxies.length; i++) {
- try
- {let proxy = proxies[i];
- //row = proxybody.insertRow($('#proxybody').children('tr').length),
- let split_proxy = proxy.proxy.split(':');
- let id = "prow" + proxy.id.toString();
- html += `
- <tr id="${id}">
- <th class="ptd1" >${proxy.id}</th>
- <th class="ptd2" >${split_proxy[0]}</th>
- <th class="ptd3" >${split_proxy[1]}</th>
- <th class="ptd4" >${split_proxy[2]?split_proxy[2]:'none'}</th>
- <th class="ptd5" >${split_proxy[3]?split_proxy[3]:'none'}</th>
- <th class="ptd6" >-</th>
- <th class="ptd7" >-</th>
- <th class="ptd8" ><button type="button" onclick="test_proxy(${proxy.id})" class="btn btn-primary"><img src="images/speed.svg"></button>
- <span onclick="delete_proxy(${proxy.id})" class="delet"><img src="images/trash.png"></span></th>
- </tr>`;
- }
- catch(err){}
- }
- proxybody.innerHTML += html;
- resize_table()
- }
- function delete_proxy(id) {
- for (let index in proxy_list) {
- if (proxy_list[index].id.toString() === id.toString()) {
- $('#prow' + id).remove();
- proxy_list.splice(index, 1);
- }
- }
- setProxies()
- }
- function test_proxy(id) {
- for (let index in proxy_list) {
- if (proxy_list[index].id.toString() === id.toString()) {
- testProxy(JSON.stringify(proxy_list[index]))
- }
- }
- }
- $('#test-all-proxies').click(function(e) {
- if($(e.target).is('button')){
- for (let proxy of proxy_list) {
- if (proxy !== undefined) {
- testProxy(JSON.stringify(proxy))
- }
- }}
- });
- $('#clear_all_proxies').click(function() {
- proxy_list = [];
- $('#proxybody')[0].innerHTML = "";
- setProxies()
- });
- function formatDate(date) {
- var hours = date.getHours();
- var minutes = date.getMinutes();
- var seconds = date.getSeconds();
- var ampm = hours >= 12 ? 'PM' : 'AM';
- var day = date.getUTCDate().toString();
- var month = (date.getUTCMonth() + 1) < 10? '0'+(date.getUTCMonth() + 1).toString() : (date.getUTCMonth() + 1).toString();
- var year = date.getUTCFullYear().toString();
- hours = hours % 12;
- hours = hours ? hours : 12; // the hour '0' should be '12'
- minutes = minutes < 10 ? '0'+minutes : minutes;
- seconds = seconds < 10 ? '0'+seconds : seconds;
- var strTime = day + "/" + month + "/" + year + " " + hours + ':' + minutes + ':' + seconds + ' ' + ampm;
- return strTime;
- }
- function addTableRow(id, editing_bool) {
- let task = tasklist[id];
- let tablebody = document.getElementById('taskbody');
- let row = tablebody.insertRow(editing_bool || editing_bool === 0 ? editing_bool : $('#tasks_table tbody').children('tr').length);
- let date = new Date(task.afk);
- table++;
- row.id = 'row' + id.toString();
- row.innerHTML = `
- <th class="td1" >${id}</th>
- <th class="td2">${task.store}</th>
- <th class="td3" >${task.name?task.name:task.keywords}</th>
- <th class="td4" >${task.size}</th>
- <th class="td5" >${task.afk?formatDate(date):"manual"}</th>
- <th class="td6" >${task.profile}</th>
- <th class="td7" >${task.proxy?task.proxy:"auto"}</th>
- <th class="td8" style="color: orange">Idle</th>
- <th class="td9" align="right" ><button type="button" class="btn btn-primary"><img src="images/play.svg"></button>
- <button type="button" class="btn btn-edit" onclick="open_modal(${id})" data-toggle="modal" data-target="#myModal"><img src="images/pencil.png"></button>
- <span onclick="delete_task(${id})" class="delet"><img src="images/trash.png"></span></th>`;
- resize_table();
- setTasks()
- }
- function addTableRows(task_list) {
- let tablebody = document.getElementById('taskbody');
- let html = "";
- for (var i = 0; i < task_list.length; i++) {
- let task = task_list[i];
- let date = new Date(task.afk);
- let month = (date.getUTCMonth() + 1) < 10? '0'+date.getUTCMonth().toString() : date.getUTCMonth().toString();
- table++;
- let row_id = 'row' + task.id.toString();
- html += `
- <tr id="${row_id}">
- <th class="td1" >${task.id}</th>
- <th class="td2">${task.store}</th>
- <th class="td3" >${task.name?task.name:task.keywords}</th>
- <th class="td4" >${task.size}</th>
- <th class="td5" >${task.afk?formatDate(date):"manual"}</th>
- <th class="td6" >${task.profile}</th>
- <th class="td7" >${task.proxy?task.proxy:"auto"}</th>
- <th class="td8" style="color: orange">Idle</th>
- <th class="td9" align="right" ><button type="button" class="btn btn-primary"><img src="images/play.svg"></button>
- <button type="button" class="btn btn-edit" onclick="open_modal(${task.id})" data-toggle="modal" data-target="#myModal"><img src="images/pencil.png"></button>
- <span onclick="delete_task(${task.id})" class="delet"><img src="images/trash.png"></span></th></tr>`;
- }
- tablebody.innerHTML += html;
- resize_table();
- setTasks()
- }
- function open_modal(id) {
- resetModalBorder();
- tagslock = !1;
- $('#addtaskbtn')[0].style = "display:none";
- $('#updatetaskbtn')[0].style = "width:49%;border-color:lime;color:lime;float:right;";
- editing = id;
- editing_row = $('#row' + id).index();
- $('.js-example-basic-single').val(tasklist[id].store).trigger('change');
- $('#sizeslect').val(tasklist[id].size).trigger('change');
- $('#profileinput').val(tasklist[id].profile);
- $('#amountinput').val("1");
- let tags = $('#tagsinput');
- tags.tagsinput('removeAll');
- for (keyword of tasklist[id].keywords.split(',')) {
- tags.tagsinput('add', keyword)
- }
- setTimeout(() => {
- $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
- }, 300)
- $('#toggle4proxy').children('input').prop("checked", tasklist[id].proxy ? !0 : !1).trigger('change');
- if (tasklist[id].proxy) {
- $('#proxyinput').val(tasklist[id].proxy)
- }
- if(tasklist[id].login){
- $('#logintoggle')[0].checked = true;
- showLogin();
- $("#usernameinput").val(tasklist[id].login.username);
- $("#passwordinput").val(tasklist[id].login.password);
- }
- else{
- $('#logintoggle')[0].checked = false;
- hideLogin();
- }
- $('#switch4datetime').children('input').prop("checked", !tasklist[id].afk ? !1 : !0).trigger('change');
- if (tasklist[id].afk) {
- let time = new Date(tasklist[id].afk).toLocaleTimeString(),
- split = time.split(':'),
- timestring = "",
- end = ""
- if (parseInt(split[0]) > 12) {
- split[0] = (parseInt(split[0]) - 12).toString();
- end = "PM"
- } else {
- end = "AM"
- }
- timestring = split.join(':') + " " + end;
- let date = new Date(tasklist[id].afk);
- $('.input-group.date input').val(formatDate(date).split(" ")[0]);
- $('#datetimepicker2 input').val(timestring)
- }
- if (tasklist[id].supreme) {
- $('#ramdomcolortoggle').children('input').prop('checked', tasklist[id].supreme.random).trigger('change');
- if (tasklist[id].supreme.color) {
- $('#colorinput').val(tasklist[id].supreme.color)
- }
- $('#categoryinput').val(tasklist[id].supreme.category)
- }
- if (tasklist[id].login) {
- $('#logintoggle').prop('checked', !0)
- $('#usernameinput').val(tasklist[id].login.username);
- $('#passwordinput').val(tasklist[id].login.password)
- }
- }
- function delete_task(id) {
- $(`#row${id}`).remove();
- stopTask(JSON.stringify({0:tasklist[id]}));
- delete tasklist[id];
- table--;
- setTasks()
- }
- $(document).on('click', "#taskbody .btn.btn-primary", function() {
- if ($(this).css('background-color') == "rgb(43, 184, 115)") {
- startTask(JSON.stringify({0:tasklist[$(this).parent().parent()[0].childNodes[1].innerHTML]}))
- } else {
- stopTask(JSON.stringify({0:tasklist[$(this).parent().parent()[0].childNodes[1].innerHTML]}))
- }
- });
- $('#start_all_tasks').click(function() {
- startTask(JSON.stringify(tasklist))
- $('#taskbody .btn.btn-primary').css("background-color", "red").css("border-color", "red").html("<img src='images/square-stop.png'>")
- });
- $('#stop_all_tasks').click(function() {
- stopTask(JSON.stringify(tasklist))
- $('#taskbody .btn.btn-primary').css("background-color", "rgb(43, 184, 115)").css("border-color", "rgb(43, 184, 115)").html("<img src='images/play.svg'>")
- });
- $('#clear_all_tasks').click(function() {
- swal('Are you sure?', 'This will delete all of your tasks!', 'warning', {buttons: ['Cancel','Yes']}).then((to_delete) => {if(to_delete){
- $('#taskbody')[0].innerHTML = "";
- stopTask(JSON.stringify(tasklist));
- tasklist = {};
- setTasks()
- }});
- });
- $("#open-modal-btn").on("click", function() {
- resetModalBorder();
- $('#addtaskbtn')[0].style = "width:49%;border-color:lime;color:lime;float:right";
- $('#updatetaskbtn')[0].style = "display:none"
- });
- function disableBilling() {
- $('#billing-field input').val('');
- $('#billing-field :input').css({
- opacity: "0.4"
- });
- $('#billing-field :input').each(function(i) {
- if (i > 0) {
- $(this)[0].disabled = !0
- }
- });
- $('#billing-field img').each(function(i) {
- if (i > 0) {
- $(this).css({
- opacity: "0.2"
- })
- }
- })
- }
- function enableBilling() {
- $('#billing-field :input').css({
- opacity: "1"
- });
- $('#billing-field :input').each(function() {
- $(this)[0].disabled = !1
- });
- $('#billing-field img').each(function(i) {
- if (i > 0) {
- $(this).css({
- opacity: "1"
- })
- }
- })
- }
- function hideLogin() {
- $('#usernameinput').css({
- display: "none"
- });
- $('#passwordinput').css({
- display: "none"
- })
- $('#login-seperator').text("");
- }
- function showLogin() {
- $('#usernameinput').css({
- display: ""
- });
- $('#passwordinput').css({
- display: ""
- })
- $('#login-seperator').text(":");
- }
- $(document).on('click', '#billing-toggle', function() {
- $(this)[0].checked ? enableBilling() : disableBilling();
- $('#billing-field input').parent('div').css('border-bottom', '');
- $('#billing-field select').parent('div').css('border-bottom', '')
- });
- $(document).on('click', '#logintoggle', function() {
- $(this).prop('checked') ? showLogin() : hideLogin()
- });
- function cc_format(value) {
- var v = value.replace(/\s+/g, '').replace(/[^0-9]/gi, '');
- var matches = v.match(/\d{4,16}/g);
- var match = matches && matches[0] || '';
- var parts = [];
- for (i = 0, len = match.length; i < len; i += 4) {
- parts.push(match.substring(i, i + 4))
- }
- if (parts.length) {
- return parts.join(' ')
- } else {
- return value
- }
- }
- $('#payment-card-number').keyup(function() {
- $(this).val(cc_format($(this).val()))
- });
- function updateButton(id, running) {
- if (running) {
- $(`#row${id} .btn.btn-primary`).css("background-color", "red").css("border-color", "red").html("<img src='images/square-stop.png'>")
- } else {
- $(`#row${id} .btn.btn-primary`).css("background-color", "rgb(43, 184, 115)").css("border-color", "rgb(43, 184, 115)").html("<img src='images/play.svg'>")
- }
- }
- var country_arr = new Array("Afghanistan", "Albania", "Algeria", "American Samoa", "Angola", "Anguilla", "Antartica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Ashmore and Cartier Island", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burma", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Clipperton Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo, Democratic Republic of the", "Congo, Republic of the", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czeck Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Europa Island", "Falkland Islands (Islas Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern and Antarctic Lands", "Gabon", "Gambia, The", "Gaza Strip", "Georgia", "Germany", "Ghana", "Gibraltar", "Glorioso Islands", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City)", "Honduras", "Hong Kong", "Howland Island", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Ireland, Northern", "Israel", "Italy", "Jamaica", "Jan Mayen", "Japan", "Jarvis Island", "Jersey", "Johnston Atoll", "Jordan", "Juan de Nova Island", "Kazakhstan", "Kenya", "Kiribati", "Korea, North", "Korea, South", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Macedonia, Former Yugoslav Republic of", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Man, Isle of", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Midway Islands", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcaim Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romainia", "Russia", "Rwanda", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Scotland", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and South Sandwich Islands", "Spain", "Spratly Islands", "Sri Lanka", "Sudan", "Suriname", "Svalbard", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Tobago", "Toga", "Tokelau", "Tonga", "Trinidad", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "Uruguay", "United States", "Uzbekistan", "Vanuatu", "Venezuela", "Vietnam", "Virgin Islands", "Wales", "Wallis and Futuna", "West Bank", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe", "South Korea");
- // States
- var s_a = new Array();
- s_a[0]="";
- s_a[1]="Badakhshan|Badghis|Baghlan|Balkh|Bamian|Farah|Faryab|Ghazni|Ghowr|Helmand|Herat|Jowzjan|Kabol|Kandahar|Kapisa|Konar|Kondoz|Laghman|Lowgar|Nangarhar|Nimruz|Oruzgan|Paktia|Paktika|Parvan|Samangan|Sar-e Pol|Takhar|Vardak|Zabol";
- s_a[2]="Berat|Bulqize|Delvine|Devoll (Bilisht)|Diber (Peshkopi)|Durres|Elbasan|Fier|Gjirokaster|Gramsh|Has (Krume)|Kavaje|Kolonje (Erseke)|Korce|Kruje|Kucove|Kukes|Kurbin|Lezhe|Librazhd|Lushnje|Malesi e Madhe (Koplik)|Mallakaster (Ballsh)|Mat (Burrel)|Mirdite (Rreshen)|Peqin|Permet|Pogradec|Puke|Sarande|Shkoder|Skrapar (Corovode)|Tepelene|Tirane (Tirana)|Tirane (Tirana)|Tropoje (Bajram Curri)|Vlore";
- s_a[3]="Adrar|Ain Defla|Ain Temouchent|Alger|Annaba|Batna|Bechar|Bejaia|Biskra|Blida|Bordj Bou Arreridj|Bouira|Boumerdes|Chlef|Constantine|Djelfa|El Bayadh|El Oued|El Tarf|Ghardaia|Guelma|Illizi|Jijel|Khenchela|Laghouat|M'Sila|Mascara|Medea|Mila|Mostaganem|Naama|Oran|Ouargla|Oum el Bouaghi|Relizane|Saida|Setif|Sidi Bel Abbes|Skikda|Souk Ahras|Tamanghasset|Tebessa|Tiaret|Tindouf|Tipaza|Tissemsilt|Tizi Ouzou|Tlemcen";
- s_a[4]="Eastern|Manu'a|Rose Island|Swains Island|Western";
- s_a[5]="Andorra la Vella|Bengo|Benguela|Bie|Cabinda|Canillo|Cuando Cubango|Cuanza Norte|Cuanza Sul|Cunene|Encamp|Escaldes-Engordany|Huambo|Huila|La Massana|Luanda|Lunda Norte|Lunda Sul|Malanje|Moxico|Namibe|Ordino|Sant Julia de Loria|Uige|Zaire";
- s_a[6]="Anguilla";
- s_a[7]="Antartica";
- s_a[8]="Barbuda|Redonda|Saint George|Saint John|Saint Mary|Saint Paul|Saint Peter|Saint Philip";
- s_a[9]="Antartica e Islas del Atlantico Sur|Buenos Aires|Buenos Aires Capital Federal|Catamarca|Chaco|Chubut|Cordoba|Corrientes|Entre Rios|Formosa|Jujuy|La Pampa|La Rioja|Mendoza|Misiones|Neuquen|Rio Negro|Salta|San Juan|San Luis|Santa Cruz|Santa Fe|Santiago del Estero|Tierra del Fuego|Tucuman";
- s_a[10]="Aragatsotn|Ararat|Armavir|Geghark'unik'|Kotayk'|Lorri|Shirak|Syunik'|Tavush|Vayots' Dzor|Yerevan";
- s_a[11]="Aruba";
- s_a[12]="Ashmore and Cartier Island";
- s_a[13]="Australian Capital Territory|New South Wales|Northern Territory|Queensland|South Australia|Tasmania|Victoria|Western Australia";
- s_a[14]="Burgenland|Kaernten|Niederoesterreich|Oberoesterreich|Salzburg|Steiermark|Tirol|Vorarlberg|Wien";
- s_a[15]="Abseron Rayonu|Agcabadi Rayonu|Agdam Rayonu|Agdas Rayonu|Agstafa Rayonu|Agsu Rayonu|Ali Bayramli Sahari|Astara Rayonu|Baki Sahari|Balakan Rayonu|Barda Rayonu|Beylaqan Rayonu|Bilasuvar Rayonu|Cabrayil Rayonu|Calilabad Rayonu|Daskasan Rayonu|Davaci Rayonu|Fuzuli Rayonu|Gadabay Rayonu|Ganca Sahari|Goranboy Rayonu|Goycay Rayonu|Haciqabul Rayonu|Imisli Rayonu|Ismayilli Rayonu|Kalbacar Rayonu|Kurdamir Rayonu|Lacin Rayonu|Lankaran Rayonu|Lankaran Sahari|Lerik Rayonu|Masalli Rayonu|Mingacevir Sahari|Naftalan Sahari|Naxcivan Muxtar Respublikasi|Neftcala Rayonu|Oguz Rayonu|Qabala Rayonu|Qax Rayonu|Qazax Rayonu|Qobustan Rayonu|Quba Rayonu|Qubadli Rayonu|Qusar Rayonu|Saatli Rayonu|Sabirabad Rayonu|Saki Rayonu|Saki Sahari|Salyan Rayonu|Samaxi Rayonu|Samkir Rayonu|Samux Rayonu|Siyazan Rayonu|Sumqayit Sahari|Susa Rayonu|Susa Sahari|Tartar Rayonu|Tovuz Rayonu|Ucar Rayonu|Xacmaz Rayonu|Xankandi Sahari|Xanlar Rayonu|Xizi Rayonu|Xocali Rayonu|Xocavand Rayonu|Yardimli Rayonu|Yevlax Rayonu|Yevlax Sahari|Zangilan Rayonu|Zaqatala Rayonu|Zardab Rayonu";
- s_a[16]="Acklins and Crooked Islands|Bimini|Cat Island|Exuma|Freeport|Fresh Creek|Governor's Harbour|Green Turtle Cay|Harbour Island|High Rock|Inagua|Kemps Bay|Long Island|Marsh Harbour|Mayaguana|New Providence|Nicholls Town and Berry Islands|Ragged Island|Rock Sound|San Salvador and Rum Cay|Sandy Point";
- s_a[17]="Al Hadd|Al Manamah|Al Mintaqah al Gharbiyah|Al Mintaqah al Wusta|Al Mintaqah ash Shamaliyah|Al Muharraq|Ar Rifa' wa al Mintaqah al Janubiyah|Jidd Hafs|Juzur Hawar|Madinat 'Isa|Madinat Hamad|Sitrah";
- s_a[18]="Barguna|Barisal|Bhola|Jhalokati|Patuakhali|Pirojpur|Bandarban|Brahmanbaria|Chandpur|Chittagong|Comilla|Cox's Bazar|Feni|Khagrachari|Lakshmipur|Noakhali|Rangamati|Dhaka|Faridpur|Gazipur|Gopalganj|Jamalpur|Kishoreganj|Madaripur|Manikganj|Munshiganj|Mymensingh|Narayanganj|Narsingdi|Netrokona|Rajbari|Shariatpur|Sherpur|Tangail|Bagerhat|Chuadanga|Jessore|Jhenaidah|Khulna|Kushtia|Magura|Meherpur|Narail|Satkhira|Bogra|Dinajpur|Gaibandha|Jaipurhat|Kurigram|Lalmonirhat|Naogaon|Natore|Nawabganj|Nilphamari|Pabna|Panchagarh|Rajshahi|Rangpur|Sirajganj|Thakurgaon|Habiganj|Maulvi bazar|Sunamganj|Sylhet";
- s_a[19]="Bridgetown|Christ Church|Saint Andrew|Saint George|Saint James|Saint John|Saint Joseph|Saint Lucy|Saint Michael|Saint Peter|Saint Philip|Saint Thomas";
- s_a[20]="Brestskaya (Brest)|Homyel'skaya (Homyel')|Horad Minsk|Hrodzyenskaya (Hrodna)|Mahilyowskaya (Mahilyow)|Minskaya|Vitsyebskaya (Vitsyebsk)";
- s_a[21]="Antwerpen|Brabant Wallon|Brussels Capitol Region|Hainaut|Liege|Limburg|Luxembourg|Namur|Oost-Vlaanderen|Vlaams Brabant|West-Vlaanderen";
- s_a[22]="Belize|Cayo|Corozal|Orange Walk|Stann Creek|Toledo";
- s_a[23]="Alibori|Atakora|Atlantique|Borgou|Collines|Couffo|Donga|Littoral|Mono|Oueme|Plateau|Zou";
- s_a[24]="Devonshire|Hamilton|Hamilton|Paget|Pembroke|Saint George|Saint Georges|Sandys|Smiths|Southampton|Warwick";
- s_a[25]="Bumthang|Chhukha|Chirang|Daga|Geylegphug|Ha|Lhuntshi|Mongar|Paro|Pemagatsel|Punakha|Samchi|Samdrup Jongkhar|Shemgang|Tashigang|Thimphu|Tongsa|Wangdi Phodrang";
- s_a[26]="Beni|Chuquisaca|Cochabamba|La Paz|Oruro|Pando|Potosi|Santa Cruz|Tarija";
- s_a[27]="Federation of Bosnia and Herzegovina|Republika Srpska";
- s_a[28]="Central|Chobe|Francistown|Gaborone|Ghanzi|Kgalagadi|Kgatleng|Kweneng|Lobatse|Ngamiland|North-East|Selebi-Pikwe|South-East|Southern";
- s_a[29]="Acre|Alagoas|Amapa|Amazonas|Bahia|Ceara|Distrito Federal|Espirito Santo|Goias|Maranhao|Mato Grosso|Mato Grosso do Sul|Minas Gerais|Para|Paraiba|Parana|Pernambuco|Piaui|Rio de Janeiro|Rio Grande do Norte|Rio Grande do Sul|Rondonia|Roraima|Santa Catarina|Sao Paulo|Sergipe|Tocantins";
- s_a[30]="Anegada|Jost Van Dyke|Tortola|Virgin Gorda";
- s_a[31]="Belait|Brunei and Muara|Temburong|Tutong";
- s_a[32]="Blagoevgrad|Burgas|Dobrich|Gabrovo|Khaskovo|Kurdzhali|Kyustendil|Lovech|Montana|Pazardzhik|Pernik|Pleven|Plovdiv|Razgrad|Ruse|Shumen|Silistra|Sliven|Smolyan|Sofiya|Sofiya-Grad|Stara Zagora|Turgovishte|Varna|Veliko Turnovo|Vidin|Vratsa|Yambol";
- s_a[33]="Bale|Bam|Banwa|Bazega|Bougouriba|Boulgou|Boulkiemde|Comoe|Ganzourgou|Gnagna|Gourma|Houet|Ioba|Kadiogo|Kenedougou|Komandjari|Kompienga|Kossi|Koupelogo|Kouritenga|Kourweogo|Leraba|Loroum|Mouhoun|Nahouri|Namentenga|Naumbiel|Nayala|Oubritenga|Oudalan|Passore|Poni|Samentenga|Sanguie|Seno|Sissili|Soum|Sourou|Tapoa|Tuy|Yagha|Yatenga|Ziro|Zondomo|Zoundweogo";
- s_a[34]="Ayeyarwady|Bago|Chin State|Kachin State|Kayah State|Kayin State|Magway|Mandalay|Mon State|Rakhine State|Sagaing|Shan State|Tanintharyi|Yangon";
- s_a[35]="Bubanza|Bujumbura|Bururi|Cankuzo|Cibitoke|Gitega|Karuzi|Kayanza|Kirundo|Makamba|Muramvya|Muyinga|Mwaro|Ngozi|Rutana|Ruyigi";
- s_a[36]="Banteay Mean Cheay|Batdambang|Kampong Cham|Kampong Chhnang|Kampong Spoe|Kampong Thum|Kampot|Kandal|Kaoh Kong|Keb|Kracheh|Mondol Kiri|Otdar Mean Cheay|Pailin|Phnum Penh|Pouthisat|Preah Seihanu (Sihanoukville)|Preah Vihear|Prey Veng|Rotanah Kiri|Siem Reab|Stoeng Treng|Svay Rieng|Takev";
- s_a[37]="Adamaoua|Centre|Est|Extreme-Nord|Littoral|Nord|Nord-Ouest|Ouest|Sud|Sud-Ouest";
- s_a[38]="Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland|Northwest Territories|Nova Scotia|Nunavut|Ontario|Prince Edward Island|Quebec|Saskatchewan|Yukon Territory";
- s_a[39]="Boa Vista|Brava|Maio|Mosteiros|Paul|Porto Novo|Praia|Ribeira Grande|Sal|Santa Catarina|Santa Cruz|Sao Domingos|Sao Filipe|Sao Nicolau|Sao Vicente|Tarrafal";
- s_a[40]="Creek|Eastern|Midland|South Town|Spot Bay|Stake Bay|West End|Western";
- s_a[41]="Bamingui-Bangoran|Bangui|Basse-Kotto|Gribingui|Haut-Mbomou|Haute-Kotto|Haute-Sangha|Kemo-Gribingui|Lobaye|Mbomou|Nana-Mambere|Ombella-Mpoko|Ouaka|Ouham|Ouham-Pende|Sangha|Vakaga";
- s_a[42]="Batha|Biltine|Borkou-Ennedi-Tibesti|Chari-Baguirmi|Guera|Kanem|Lac|Logone Occidental|Logone Oriental|Mayo-Kebbi|Moyen-Chari|Ouaddai|Salamat|Tandjile";
- s_a[43]="Aisen del General Carlos Ibanez del Campo|Antofagasta|Araucania|Atacama|Bio-Bio|Coquimbo|Libertador General Bernardo O'Higgins|Los Lagos|Magallanes y de la Antartica Chilena|Maule|Region Metropolitana (Santiago)|Tarapaca|Valparaiso";
- s_a[44]="Anhui|Beijing|Chongqing|Fujian|Gansu|Guangdong|Guangxi|Guizhou|Hainan|Hebei|Heilongjiang|Henan|Hubei|Hunan|Jiangsu|Jiangxi|Jilin|Liaoning|Nei Mongol|Ningxia|Qinghai|Shaanxi|Shandong|Shanghai|Shanxi|Sichuan|Tianjin|Xinjiang|Xizang (Tibet)|Yunnan|Zhejiang";
- s_a[45]="Christmas Island";
- s_a[46]="Clipperton Island";
- s_a[47]="Direction Island|Home Island|Horsburgh Island|North Keeling Island|South Island|West Island";
- s_a[48]="Amazonas|Antioquia|Arauca|Atlantico|Bolivar|Boyaca|Caldas|Caqueta|Casanare|Cauca|Cesar|Choco|Cordoba|Cundinamarca|Distrito Capital de Santa Fe de Bogota|Guainia|Guaviare|Huila|La Guajira|Magdalena|Meta|Narino|Norte de Santander|Putumayo|Quindio|Risaralda|San Andres y Providencia|Santander|Sucre|Tolima|Valle del Cauca|Vaupes|Vichada";
- // <!-- -->
- s_a[49]="Anjouan (Nzwani)|Domoni|Fomboni|Grande Comore (Njazidja)|Moheli (Mwali)|Moroni|Moutsamoudou";
- s_a[50]="Bandundu|Bas-Congo|Equateur|Kasai-Occidental|Kasai-Oriental|Katanga|Kinshasa|Maniema|Nord-Kivu|Orientale|Sud-Kivu";
- s_a[51]="Bouenza|Brazzaville|Cuvette|Kouilou|Lekoumou|Likouala|Niari|Plateaux|Pool|Sangha";
- s_a[52]="Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Manuae|Mauke|Mitiaro|Nassau Island|Palmerston|Penrhyn|Pukapuka|Rakahanga|Rarotonga|Suwarrow|Takutea";
- s_a[53]="Alajuela|Cartago|Guanacaste|Heredia|Limon|Puntarenas|San Jose";
- s_a[54]="Abengourou|Abidjan|Aboisso|Adiake'|Adzope|Agboville|Agnibilekrou|Ale'pe'|Bangolo|Beoumi|Biankouma|Bocanda|Bondoukou|Bongouanou|Bouafle|Bouake|Bouna|Boundiali|Dabakala|Dabon|Daloa|Danane|Daoukro|Dimbokro|Divo|Duekoue|Ferkessedougou|Gagnoa|Grand Bassam|Grand-Lahou|Guiglo|Issia|Jacqueville|Katiola|Korhogo|Lakota|Man|Mankono|Mbahiakro|Odienne|Oume|Sakassou|San-Pedro|Sassandra|Seguela|Sinfra|Soubre|Tabou|Tanda|Tiassale|Tiebissou|Tingrela|Touba|Toulepleu|Toumodi|Vavoua|Yamoussoukro|Zuenoula";
- s_a[55]="Bjelovarsko-Bilogorska Zupanija|Brodsko-Posavska Zupanija|Dubrovacko-Neretvanska Zupanija|Istarska Zupanija|Karlovacka Zupanija|Koprivnicko-Krizevacka Zupanija|Krapinsko-Zagorska Zupanija|Licko-Senjska Zupanija|Medimurska Zupanija|Osjecko-Baranjska Zupanija|Pozesko-Slavonska Zupanija|Primorsko-Goranska Zupanija|Sibensko-Kninska Zupanija|Sisacko-Moslavacka Zupanija|Splitsko-Dalmatinska Zupanija|Varazdinska Zupanija|Viroviticko-Podravska Zupanija|Vukovarsko-Srijemska Zupanija|Zadarska Zupanija|Zagreb|Zagrebacka Zupanija";
- s_a[56]="Camaguey|Ciego de Avila|Cienfuegos|Ciudad de La Habana|Granma|Guantanamo|Holguin|Isla de la Juventud|La Habana|Las Tunas|Matanzas|Pinar del Rio|Sancti Spiritus|Santiago de Cuba|Villa Clara";
- s_a[57]="Famagusta|Kyrenia|Larnaca|Limassol|Nicosia|Paphos";
- s_a[58]="Brnensky|Budejovicky|Jihlavsky|Karlovarsky|Kralovehradecky|Liberecky|Olomoucky|Ostravsky|Pardubicky|Plzensky|Praha|Stredocesky|Ustecky|Zlinsky";
- s_a[59]="Arhus|Bornholm|Fredericksberg|Frederiksborg|Fyn|Kobenhavn|Kobenhavns|Nordjylland|Ribe|Ringkobing|Roskilde|Sonderjylland|Storstrom|Vejle|Vestsjalland|Viborg";
- s_a[60]="'Ali Sabih|Dikhil|Djibouti|Obock|Tadjoura";
- s_a[61]="Saint Andrew|Saint David|Saint George|Saint John|Saint Joseph|Saint Luke|Saint Mark|Saint Patrick|Saint Paul|Saint Peter";
- s_a[62]="Azua|Baoruco|Barahona|Dajabon|Distrito Nacional|Duarte|El Seibo|Elias Pina|Espaillat|Hato Mayor|Independencia|La Altagracia|La Romana|La Vega|Maria Trinidad Sanchez|Monsenor Nouel|Monte Cristi|Monte Plata|Pedernales|Peravia|Puerto Plata|Salcedo|Samana|San Cristobal|San Juan|San Pedro de Macoris|Sanchez Ramirez|Santiago|Santiago Rodriguez|Valverde";
- // <!-- -->
- s_a[63]="Azuay|Bolivar|Canar|Carchi|Chimborazo|Cotopaxi|El Oro|Esmeraldas|Galapagos|Guayas|Imbabura|Loja|Los Rios|Manabi|Morona-Santiago|Napo|Orellana|Pastaza|Pichincha|Sucumbios|Tungurahua|Zamora-Chinchipe";
- s_a[64]="Ad Daqahliyah|Al Bahr al Ahmar|Al Buhayrah|Al Fayyum|Al Gharbiyah|Al Iskandariyah|Al Isma'iliyah|Al Jizah|Al Minufiyah|Al Minya|Al Qahirah|Al Qalyubiyah|Al Wadi al Jadid|As Suways|Ash Sharqiyah|Aswan|Asyut|Bani Suwayf|Bur Sa'id|Dumyat|Janub Sina'|Kafr ash Shaykh|Matruh|Qina|Shamal Sina'|Suhaj";
- s_a[65]="Ahuachapan|Cabanas|Chalatenango|Cuscatlan|La Libertad|La Paz|La Union|Morazan|San Miguel|San Salvador|San Vicente|Santa Ana|Sonsonate|Usulutan";
- s_a[66]="Annobon|Bioko Norte|Bioko Sur|Centro Sur|Kie-Ntem|Litoral|Wele-Nzas";
- s_a[67]="Akale Guzay|Barka|Denkel|Hamasen|Sahil|Semhar|Senhit|Seraye";
- s_a[68]="Harjumaa (Tallinn)|Hiiumaa (Kardla)|Ida-Virumaa (Johvi)|Jarvamaa (Paide)|Jogevamaa (Jogeva)|Laane-Virumaa (Rakvere)|Laanemaa (Haapsalu)|Parnumaa (Parnu)|Polvamaa (Polva)|Raplamaa (Rapla)|Saaremaa (Kuessaare)|Tartumaa (Tartu)|Valgamaa (Valga)|Viljandimaa (Viljandi)|Vorumaa (Voru)"
- s_a[69]="Adis Abeba (Addis Ababa)|Afar|Amara|Dire Dawa|Gambela Hizboch|Hareri Hizb|Oromiya|Sumale|Tigray|YeDebub Biheroch Bihereseboch na Hizboch";
- s_a[70]="Europa Island";
- s_a[71]="Falkland Islands (Islas Malvinas)"
- s_a[72]="Bordoy|Eysturoy|Mykines|Sandoy|Skuvoy|Streymoy|Suduroy|Tvoroyri|Vagar";
- s_a[73]="Central|Eastern|Northern|Rotuma|Western";
- s_a[74]="Aland|Etela-Suomen Laani|Ita-Suomen Laani|Lansi-Suomen Laani|Lappi|Oulun Laani";
- s_a[75]="Alsace|Aquitaine|Auvergne|Basse-Normandie|Bourgogne|Bretagne|Centre|Champagne-Ardenne|Corse|Franche-Comte|Haute-Normandie|Ile-de-France|Languedoc-Roussillon|Limousin|Lorraine|Midi-Pyrenees|Nord-Pas-de-Calais|Pays de la Loire|Picardie|Poitou-Charentes|Provence-Alpes-Cote d'Azur|Rhone-Alpes";
- s_a[76]="French Guiana";
- s_a[77]="Archipel des Marquises|Archipel des Tuamotu|Archipel des Tubuai|Iles du Vent|Iles Sous-le-Vent";
- s_a[78]="Adelie Land|Ile Crozet|Iles Kerguelen|Iles Saint-Paul et Amsterdam";
- s_a[79]="Estuaire|Haut-Ogooue|Moyen-Ogooue|Ngounie|Nyanga|Ogooue-Ivindo|Ogooue-Lolo|Ogooue-Maritime|Woleu-Ntem";
- s_a[80]="Banjul|Central River|Lower River|North Bank|Upper River|Western";
- s_a[81]="Gaza Strip";
- s_a[82]="Abashis|Abkhazia or Ap'khazet'is Avtonomiuri Respublika (Sokhumi)|Adigenis|Ajaria or Acharis Avtonomiuri Respublika (Bat'umi)|Akhalgoris|Akhalk'alak'is|Akhalts'ikhis|Akhmetis|Ambrolauris|Aspindzis|Baghdat'is|Bolnisis|Borjomis|Ch'khorotsqus|Ch'okhatauris|Chiat'ura|Dedop'listsqaros|Dmanisis|Dushet'is|Gardabanis|Gori|Goris|Gurjaanis|Javis|K'arelis|K'ut'aisi|Kaspis|Kharagaulis|Khashuris|Khobis|Khonis|Lagodekhis|Lanch'khut'is|Lentekhis|Marneulis|Martvilis|Mestiis|Mts'khet'is|Ninotsmindis|Onis|Ozurget'is|P'ot'i|Qazbegis|Qvarlis|Rust'avi|Sach'kheris|Sagarejos|Samtrediis|Senakis|Sighnaghis|T'bilisi|T'elavis|T'erjolis|T'et'ritsqaros|T'ianet'is|Tqibuli|Ts'ageris|Tsalenjikhis|Tsalkis|Tsqaltubo|Vanis|Zestap'onis|Zugdidi|Zugdidis";
- s_a[83]="Baden-Wuerttemberg|Bayern|Berlin|Brandenburg|Bremen|Hamburg|Hessen|Mecklenburg-Vorpommern|Niedersachsen|Nordrhein-Westfalen|Rheinland-Pfalz|Saarland|Sachsen|Sachsen-Anhalt|Schleswig-Holstein|Thueringen";
- s_a[84]="Ashanti|Brong-Ahafo|Central|Eastern|Greater Accra|Northern|Upper East|Upper West|Volta|Western";
- s_a[85]="Gibraltar";
- s_a[86]="Ile du Lys|Ile Glorieuse";
- s_a[87]="Aitolia kai Akarnania|Akhaia|Argolis|Arkadhia|Arta|Attiki|Ayion Oros (Mt. Athos)|Dhodhekanisos|Drama|Evritania|Evros|Evvoia|Florina|Fokis|Fthiotis|Grevena|Ilia|Imathia|Ioannina|Irakleion|Kardhitsa|Kastoria|Kavala|Kefallinia|Kerkyra|Khalkidhiki|Khania|Khios|Kikladhes|Kilkis|Korinthia|Kozani|Lakonia|Larisa|Lasithi|Lesvos|Levkas|Magnisia|Messinia|Pella|Pieria|Preveza|Rethimni|Rodhopi|Samos|Serrai|Thesprotia|Thessaloniki|Trikala|Voiotia|Xanthi|Zakinthos";
- s_a[88]="Avannaa (Nordgronland)|Kitaa (Vestgronland)|Tunu (Ostgronland)"
- s_a[89]="Carriacou and Petit Martinique|Saint Andrew|Saint David|Saint George|Saint John|Saint Mark|Saint Patrick";
- s_a[90]="Basse-Terre|Grande-Terre|Iles de la Petite Terre|Iles des Saintes|Marie-Galante";
- s_a[91]="Guam";
- s_a[92]="Alta Verapaz|Baja Verapaz|Chimaltenango|Chiquimula|El Progreso|Escuintla|Guatemala|Huehuetenango|Izabal|Jalapa|Jutiapa|Peten|Quetzaltenango|Quiche|Retalhuleu|Sacatepequez|San Marcos|Santa Rosa|Solola|Suchitepequez|Totonicapan|Zacapa";
- s_a[93]="Castel|Forest|St. Andrew|St. Martin|St. Peter Port|St. Pierre du Bois|St. Sampson|St. Saviour|Torteval|Vale";
- s_a[94]="Beyla|Boffa|Boke|Conakry|Coyah|Dabola|Dalaba|Dinguiraye|Dubreka|Faranah|Forecariah|Fria|Gaoual|Gueckedou|Kankan|Kerouane|Kindia|Kissidougou|Koubia|Koundara|Kouroussa|Labe|Lelouma|Lola|Macenta|Mali|Mamou|Mandiana|Nzerekore|Pita|Siguiri|Telimele|Tougue|Yomou";
- s_a[95]="Bafata|Biombo|Bissau|Bolama-Bijagos|Cacheu|Gabu|Oio|Quinara|Tombali";
- s_a[96]="Barima-Waini|Cuyuni-Mazaruni|Demerara-Mahaica|East Berbice-Corentyne|Essequibo Islands-West Demerara|Mahaica-Berbice|Pomeroon-Supenaam|Potaro-Siparuni|Upper Demerara-Berbice|Upper Takutu-Upper Essequibo";
- s_a[97]="Artibonite|Centre|Grand'Anse|Nord|Nord-Est|Nord-Ouest|Ouest|Sud|Sud-Est";
- s_a[98]="Heard Island and McDonald Islands";
- s_a[99]="Holy See (Vatican City)"
- s_a[100]="Atlantida|Choluteca|Colon|Comayagua|Copan|Cortes|El Paraiso|Francisco Morazan|Gracias a Dios|Intibuca|Islas de la Bahia|La Paz|Lempira|Ocotepeque|Olancho|Santa Barbara|Valle|Yoro";
- s_a[101]="Hong Kong";
- s_a[102]="Howland Island";
- s_a[103]="Bacs-Kiskun|Baranya|Bekes|Bekescsaba|Borsod-Abauj-Zemplen|Budapest|Csongrad|Debrecen|Dunaujvaros|Eger|Fejer|Gyor|Gyor-Moson-Sopron|Hajdu-Bihar|Heves|Hodmezovasarhely|Jasz-Nagykun-Szolnok|Kaposvar|Kecskemet|Komarom-Esztergom|Miskolc|Nagykanizsa|Nograd|Nyiregyhaza|Pecs|Pest|Somogy|Sopron|Szabolcs-Szatmar-Bereg|Szeged|Szekesfehervar|Szolnok|Szombathely|Tatabanya|Tolna|Vas|Veszprem|Veszprem|Zala|Zalaegerszeg";
- s_a[104]="Akranes|Akureyri|Arnessysla|Austur-Bardhastrandarsysla|Austur-Hunavatnssysla|Austur-Skaftafellssysla|Borgarfjardharsysla|Dalasysla|Eyjafjardharsysla|Gullbringusysla|Hafnarfjordhur|Husavik|Isafjordhur|Keflavik|Kjosarsysla|Kopavogur|Myrasysla|Neskaupstadhur|Nordhur-Isafjardharsysla|Nordhur-Mulasys-la|Nordhur-Thingeyjarsysla|Olafsfjordhur|Rangarvallasysla|Reykjavik|Saudharkrokur|Seydhisfjordhur|Siglufjordhur|Skagafjardharsysla|Snaefellsnes-og Hnappadalssysla|Strandasysla|Sudhur-Mulasysla|Sudhur-Thingeyjarsysla|Vesttmannaeyjar|Vestur-Bardhastrandarsysla|Vestur-Hunavatnssysla|Vestur-Isafjardharsysla|Vestur-Skaftafellssysla";
- s_a[105]="Andaman and Nicobar Islands|Andhra Pradesh|Arunachal Pradesh|Assam|Bihar|Chandigarh|Chhattisgarh|Dadra and Nagar Haveli|Daman and Diu|Delhi|Goa|Gujarat|Haryana|Himachal Pradesh|Jammu and Kashmir|Jharkhand|Karnataka|Kerala|Lakshadweep|Madhya Pradesh|Maharashtra|Manipur|Meghalaya|Mizoram|Nagaland|Orissa|Pondicherry|Punjab|Rajasthan|Sikkim|Tamil Nadu|Tripura|Uttar Pradesh|Uttaranchal|West Bengal";
- s_a[106]="Aceh|Bali|Banten|Bengkulu|East Timor|Gorontalo|Irian Jaya|Jakarta Raya|Jambi|Jawa Barat|Jawa Tengah|Jawa Timur|Kalimantan Barat|Kalimantan Selatan|Kalimantan Tengah|Kalimantan Timur|Kepulauan Bangka Belitung|Lampung|Maluku|Maluku Utara|Nusa Tenggara Barat|Nusa Tenggara Timur|Riau|Sulawesi Selatan|Sulawesi Tengah|Sulawesi Tenggara|Sulawesi Utara|Sumatera Barat|Sumatera Selatan|Sumatera Utara|Yogyakarta";
- s_a[107]="Ardabil|Azarbayjan-e Gharbi|Azarbayjan-e Sharqi|Bushehr|Chahar Mahall va Bakhtiari|Esfahan|Fars|Gilan|Golestan|Hamadan|Hormozgan|Ilam|Kerman|Kermanshah|Khorasan|Khuzestan|Kohgiluyeh va Buyer Ahmad|Kordestan|Lorestan|Markazi|Mazandaran|Qazvin|Qom|Semnan|Sistan va Baluchestan|Tehran|Yazd|Zanjan";
- s_a[108]="Al Anbar|Al Basrah|Al Muthanna|Al Qadisiyah|An Najaf|Arbil|As Sulaymaniyah|At Ta'mim|Babil|Baghdad|Dahuk|Dhi Qar|Diyala|Karbala'|Maysan|Ninawa|Salah ad Din|Wasit";
- s_a[109]="Carlow|Cavan|Clare|Cork|Donegal|Dublin|Galway|Kerry|Kildare|Kilkenny|Laois|Leitrim|Limerick|Longford|Louth|Mayo|Meath|Monaghan|Offaly|Roscommon|Sligo|Tipperary|Waterford|Westmeath|Wexford|Wicklow";
- s_a[110]="Antrim|Ards|Armagh|Ballymena|Ballymoney|Banbridge|Belfast|Carrickfergus|Castlereagh|Coleraine|Cookstown|Craigavon|Derry|Down|Dungannon|Fermanagh|Larne|Limavady|Lisburn|Magherafelt|Moyle|Newry and Mourne|Newtownabbey|North Down|Omagh|Strabane";
- s_a[111]="Central|Haifa|Jerusalem|Northern|Southern|Tel Aviv";
- s_a[112]="Agrigento|Alessandria|Ancona|Aosta|Arezzo|AscoliPiceno|Asti|Avellino|Bari|Barletta-Andria-Trani|Belluno|Benevento|Bergamo|Biella|Bologna|Bolzano|Brescia|Brindisi|Cagliari|Caltanissetta|Campobasso|Carbonia-Iglesias|Caserta|Catania|Catanzaro|Chieti|Como|Cosenza|Cremona|Crotone|Cuneo|Enna|Fermo|Ferrara|Florence|Foggia|Forlì-Cesena|Frosinone|Genoa|Gorizia|Grosseto|Imperia|Isernia|LaSpezia|L'Aquila|Latina|Lecce|Lecco|Livorno|Lodi|Lucca|Macerata|Mantova|Massa-Carrara|Matera|Medio zCampidano|Messina|Milan|Modena|Monzaedella Brianza|Naples|Novara|Nuoro|Ogliastra|Olbia-Tempio|Oristano|Padova|Palermo|Parma|Pavia|Perugia|Pesaroe Urbino|Pescara|Piacenza|Pisa|Pistoia|Pordenone|Potenza|Prato|Ragusa|Ravenna|Reggio Calabria|Reggio Emilia|Rieti|Rimini|Rome|Rovigo|Salerno|Sassari|Savona|Siena|Siracusa|Sondrio|Taranto|Teramo|Terni|Trapani|Trento|Treviso|Trieste|Turin|Udine|Varese|Venice|Verbano-Cusio-Ossola|Vercelli|Verona|Vibo Valentia|Vicenza|Viterbo";
- s_a[113]="Clarendon|Hanover|Kingston|Manchester|Portland|Saint Andrew|Saint Ann|Saint Catherine|Saint Elizabeth|Saint James|Saint Mary|Saint Thomas|Trelawny|Westmoreland";
- s_a[114]="Jan Mayen";
- s_a[115]="Aichi|Akita|Aomori|Chiba|Ehime|Fukui|Fukuoka|Fukushima|Gifu|Gumma|Hiroshima|Hokkaido|Hyogo|Ibaraki|Ishikawa|Iwate|Kagawa|Kagoshima|Kanagawa|Kochi|Kumamoto|Kyoto|Mie|Miyagi|Miyazaki|Nagano|Nagasaki|Nara|Niigata|Oita|Okayama|Okinawa|Osaka|Saga|Saitama|Shiga|Shimane|Shizuoka|Tochigi|Tokushima|Tokyo|Tottori|Toyama|Wakayama|Yamagata|Yamaguchi|Yamanashi";
- s_a[116]="Jarvis Island";
- s_a[117]="Jersey";
- s_a[118]="Johnston Atoll";
- s_a[119]="'Amman|Ajlun|Al 'Aqabah|Al Balqa'|Al Karak|Al Mafraq|At Tafilah|Az Zarqa'|Irbid|Jarash|Ma'an|Madaba";
- s_a[120]="Juan de Nova Island";
- s_a[121]="Almaty|Aqmola|Aqtobe|Astana|Atyrau|Batys Qazaqstan|Bayqongyr|Mangghystau|Ongtustik Qazaqstan|Pavlodar|Qaraghandy|Qostanay|Qyzylorda|Shyghys Qazaqstan|Soltustik Qazaqstan|Zhambyl";
- s_a[122]="Central|Coast|Eastern|Nairobi Area|North Eastern|Nyanza|Rift Valley|Western";
- s_a[123]="Abaiang|Abemama|Aranuka|Arorae|Banaba|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands|Kanton|Kiritimati|Kuria|Line Islands|Line Islands|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Tarawa|Teraina";
- s_a[124]="Chagang-do (Chagang Province)|Hamgyong-bukto (North Hamgyong Province)|Hamgyong-namdo (South Hamgyong Province)|Hwanghae-bukto (North Hwanghae Province)|Hwanghae-namdo (South Hwanghae Province)|Kaesong-si (Kaesong City)|Kangwon-do (Kangwon Province)|Namp'o-si (Namp'o City)|P'yongan-bukto (North P'yongan Province)|P'yongan-namdo (South P'yongan Province)|P'yongyang-si (P'yongyang City)|Yanggang-do (Yanggang Province)"
- s_a[125]="Ch'ungch'ong-bukto|Ch'ungch'ong-namdo|Cheju-do|Cholla-bukto|Cholla-namdo|Inch'on-gwangyoksi|Kangwon-do|Kwangju-gwangyoksi|Kyonggi-do|Kyongsang-bukto|Kyongsang-namdo|Pusan-gwangyoksi|Soul-t'ukpyolsi|Taegu-gwangyoksi|Taejon-gwangyoksi|Ulsan-gwangyoksi";
- s_a[126]="Al 'Asimah|Al Ahmadi|Al Farwaniyah|Al Jahra'|Hawalli";
- s_a[127]="Batken Oblasty|Bishkek Shaary|Chuy Oblasty (Bishkek)|Jalal-Abad Oblasty|Naryn Oblasty|Osh Oblasty|Talas Oblasty|Ysyk-Kol Oblasty (Karakol)"
- s_a[128]="Attapu|Bokeo|Bolikhamxai|Champasak|Houaphan|Khammouan|Louangnamtha|Louangphabang|Oudomxai|Phongsali|Salavan|Savannakhet|Viangchan|Viangchan|Xaignabouli|Xaisomboun|Xekong|Xiangkhoang";
- s_a[129]="Aizkraukles Rajons|Aluksnes Rajons|Balvu Rajons|Bauskas Rajons|Cesu Rajons|Daugavpils|Daugavpils Rajons|Dobeles Rajons|Gulbenes Rajons|Jekabpils Rajons|Jelgava|Jelgavas Rajons|Jurmala|Kraslavas Rajons|Kuldigas Rajons|Leipaja|Liepajas Rajons|Limbazu Rajons|Ludzas Rajons|Madonas Rajons|Ogres Rajons|Preilu Rajons|Rezekne|Rezeknes Rajons|Riga|Rigas Rajons|Saldus Rajons|Talsu Rajons|Tukuma Rajons|Valkas Rajons|Valmieras Rajons|Ventspils|Ventspils Rajons";
- s_a[130]="Beyrouth|Ech Chimal|Ej Jnoub|El Bekaa|Jabal Loubnane";
- s_a[131]="Berea|Butha-Buthe|Leribe|Mafeteng|Maseru|Mohales Hoek|Mokhotlong|Qacha's Nek|Quthing|Thaba-Tseka";
- s_a[132]="Bomi|Bong|Grand Bassa|Grand Cape Mount|Grand Gedeh|Grand Kru|Lofa|Margibi|Maryland|Montserrado|Nimba|River Cess|Sinoe";
- s_a[133]="Ajdabiya|Al 'Aziziyah|Al Fatih|Al Jabal al Akhdar|Al Jufrah|Al Khums|Al Kufrah|An Nuqat al Khams|Ash Shati'|Awbari|Az Zawiyah|Banghazi|Darnah|Ghadamis|Gharyan|Misratah|Murzuq|Sabha|Sawfajjin|Surt|Tarabulus|Tarhunah|Tubruq|Yafran|Zlitan";
- s_a[134]="Balzers|Eschen|Gamprin|Mauren|Planken|Ruggell|Schaan|Schellenberg|Triesen|Triesenberg|Vaduz";
- s_a[135]="Akmenes Rajonas|Alytaus Rajonas|Alytus|Anyksciu Rajonas|Birstonas|Birzu Rajonas|Druskininkai|Ignalinos Rajonas|Jonavos Rajonas|Joniskio Rajonas|Jurbarko Rajonas|Kaisiadoriu Rajonas|Kaunas|Kauno Rajonas|Kedainiu Rajonas|Kelmes Rajonas|Klaipeda|Klaipedos Rajonas|Kretingos Rajonas|Kupiskio Rajonas|Lazdiju Rajonas|Marijampole|Marijampoles Rajonas|Mazeikiu Rajonas|Moletu Rajonas|Neringa Pakruojo Rajonas|Palanga|Panevezio Rajonas|Panevezys|Pasvalio Rajonas|Plunges Rajonas|Prienu Rajonas|Radviliskio Rajonas|Raseiniu Rajonas|Rokiskio Rajonas|Sakiu Rajonas|Salcininku Rajonas|Siauliai|Siauliu Rajonas|Silales Rajonas|Silutes Rajonas|Sirvintu Rajonas|Skuodo Rajonas|Svencioniu Rajonas|Taurages Rajonas|Telsiu Rajonas|Traku Rajonas|Ukmerges Rajonas|Utenos Rajonas|Varenos Rajonas|Vilkaviskio Rajonas|Vilniaus Rajonas|Vilnius|Zarasu Rajonas";
- s_a[136]="Diekirch|Grevenmacher|Luxembourg";
- s_a[137]="Macau";
- s_a[138]="Aracinovo|Bac|Belcista|Berovo|Bistrica|Bitola|Blatec|Bogdanci|Bogomila|Bogovinje|Bosilovo|Brvenica|Cair (Skopje)|Capari|Caska|Cegrane|Centar (Skopje)|Centar Zupa|Cesinovo|Cucer-Sandevo|Debar|Delcevo|Delogozdi|Demir Hisar|Demir Kapija|Dobrusevo|Dolna Banjica|Dolneni|Dorce Petrov (Skopje)|Drugovo|Dzepciste|Gazi Baba (Skopje)|Gevgelija|Gostivar|Gradsko|Ilinden|Izvor|Jegunovce|Kamenjane|Karbinci|Karpos (Skopje)|Kavadarci|Kicevo|Kisela Voda (Skopje)|Klecevce|Kocani|Konce|Kondovo|Konopiste|Kosel|Kratovo|Kriva Palanka|Krivogastani|Krusevo|Kuklis|Kukurecani|Kumanovo|Labunista|Lipkovo|Lozovo|Lukovo|Makedonska Kamenica|Makedonski Brod|Mavrovi Anovi|Meseista|Miravci|Mogila|Murtino|Negotino|Negotino-Poloska|Novaci|Novo Selo|Oblesevo|Ohrid|Orasac|Orizari|Oslomej|Pehcevo|Petrovec|Plasnia|Podares|Prilep|Probistip|Radovis|Rankovce|Resen|Rosoman|Rostusa|Samokov|Saraj|Sipkovica|Sopiste|Sopotnika|Srbinovo|Star Dojran|Staravina|Staro Nagoricane|Stip|Struga|Strumica|Studenicani|Suto Orizari (Skopje)|Sveti Nikole|Tearce|Tetovo|Topolcani|Valandovo|Vasilevo|Veles|Velesta|Vevcani|Vinica|Vitoliste|Vranestica|Vrapciste|Vratnica|Vrutok|Zajas|Zelenikovo|Zileno|Zitose|Zletovo|Zrnovci";
- s_a[139]="Antananarivo|Antsiranana|Fianarantsoa|Mahajanga|Toamasina|Toliara";
- s_a[140]="Balaka|Blantyre|Chikwawa|Chiradzulu|Chitipa|Dedza|Dowa|Karonga|Kasungu|Likoma|Lilongwe|Machinga (Kasupe)|Mangochi|Mchinji|Mulanje|Mwanza|Mzimba|Nkhata Bay|Nkhotakota|Nsanje|Ntcheu|Ntchisi|Phalombe|Rumphi|Salima|Thyolo|Zomba";
- s_a[141]="Johor|Kedah|Kelantan|Labuan|Melaka|Negeri Sembilan|Pahang|Perak|Perlis|Pulau Pinang|Sabah|Sarawak|Selangor|Terengganu|Wilayah Persekutuan";
- s_a[142]="Alifu|Baa|Dhaalu|Faafu|Gaafu Alifu|Gaafu Dhaalu|Gnaviyani|Haa Alifu|Haa Dhaalu|Kaafu|Laamu|Lhaviyani|Maale|Meemu|Noonu|Raa|Seenu|Shaviyani|Thaa|Vaavu";
- s_a[143]="Gao|Kayes|Kidal|Koulikoro|Mopti|Segou|Sikasso|Tombouctou";
- s_a[144]="Valletta";
- s_a[145]="Man, Isle of";
- s_a[146]="Ailinginae|Ailinglaplap|Ailuk|Arno|Aur|Bikar|Bikini|Bokak|Ebon|Enewetak|Erikub|Jabat|Jaluit|Jemo|Kili|Kwajalein|Lae|Lib|Likiep|Majuro|Maloelap|Mejit|Mili|Namorik|Namu|Rongelap|Rongrik|Toke|Ujae|Ujelang|Utirik|Wotho|Wotje";
- s_a[147]="Martinique";
- s_a[148]="Adrar|Assaba|Brakna|Dakhlet Nouadhibou|Gorgol|Guidimaka|Hodh Ech Chargui|Hodh El Gharbi|Inchiri|Nouakchott|Tagant|Tiris Zemmour|Trarza";
- s_a[149]="Agalega Islands|Black River|Cargados Carajos Shoals|Flacq|Grand Port|Moka|Pamplemousses|Plaines Wilhems|Port Louis|Riviere du Rempart|Rodrigues|Savanne";
- s_a[150]="Mayotte";
- s_a[151]="Aguascalientes|Baja California|Baja California Sur|Campeche|Chiapas|Chihuahua|Coahuila de Zaragoza|Colima|Distrito Federal|Durango|Guanajuato|Guerrero|Hidalgo|Jalisco|Mexico|Michoacan de Ocampo|Morelos|Nayarit|Nuevo Leon|Oaxaca|Puebla|Queretaro de Arteaga|Quintana Roo|San Luis Potosi|Sinaloa|Sonora|Tabasco|Tamaulipas|Tlaxcala|Veracruz-Llave|Yucatan|Zacatecas";
- s_a[152]="Chuuk (Truk)|Kosrae|Pohnpei|Yap";
- s_a[153]="Midway Islands";
- s_a[154]="Balti|Cahul|Chisinau|Chisinau|Dubasari|Edinet|Gagauzia|Lapusna|Orhei|Soroca|Tighina|Ungheni";
- s_a[155]="Fontvieille|La Condamine|Monaco-Ville|Monte-Carlo";
- s_a[156]="Arhangay|Bayan-Olgiy|Bayanhongor|Bulgan|Darhan|Dornod|Dornogovi|Dundgovi|Dzavhan|Erdenet|Govi-Altay|Hentiy|Hovd|Hovsgol|Omnogovi|Ovorhangay|Selenge|Suhbaatar|Tov|Ulaanbaatar|Uvs";
- s_a[157]="Saint Anthony|Saint Georges|Saint Peter's";
- s_a[158]="Agadir|Al Hoceima|Azilal|Ben Slimane|Beni Mellal|Boulemane|Casablanca|Chaouen|El Jadida|El Kelaa des Srarhna|Er Rachidia|Essaouira|Fes|Figuig|Guelmim|Ifrane|Kenitra|Khemisset|Khenifra|Khouribga|Laayoune|Larache|Marrakech|Meknes|Nador|Ouarzazate|Oujda|Rabat-Sale|Safi|Settat|Sidi Kacem|Tan-Tan|Tanger|Taounate|Taroudannt|Tata|Taza|Tetouan|Tiznit";
- s_a[159]="Cabo Delgado|Gaza|Inhambane|Manica|Maputo|Nampula|Niassa|Sofala|Tete|Zambezia";
- s_a[160]="Caprivi|Erongo|Hardap|Karas|Khomas|Kunene|Ohangwena|Okavango|Omaheke|Omusati|Oshana|Oshikoto|Otjozondjupa";
- s_a[161]="Aiwo|Anabar|Anetan|Anibare|Baiti|Boe|Buada|Denigomodu|Ewa|Ijuw|Meneng|Nibok|Uaboe|Yaren";
- s_a[162]="Bagmati|Bheri|Dhawalagiri|Gandaki|Janakpur|Karnali|Kosi|Lumbini|Mahakali|Mechi|Narayani|Rapti|Sagarmatha|Seti";
- s_a[163]="Drenthe|Flevoland|Friesland|Gelderland|Groningen|Limburg|Noord-Brabant|Noord-Holland|Overijssel|Utrecht|Zeeland|Zuid-Holland";
- s_a[164]="Netherlands Antilles";
- s_a[165]="Iles Loyaute|Nord|Sud";
- s_a[166]="Akaroa|Amuri|Ashburton|Bay of Islands|Bruce|Buller|Chatham Islands|Cheviot|Clifton|Clutha|Cook|Dannevirke|Egmont|Eketahuna|Ellesmere|Eltham|Eyre|Featherston|Franklin|Golden Bay|Great Barrier Island|Grey|Hauraki Plains|Hawera|Hawke's Bay|Heathcote|Hikurangi|Hobson|Hokianga|Horowhenua|Hurunui|Hutt|Inangahua|Inglewood|Kaikoura|Kairanga|Kiwitea|Lake|Mackenzie|Malvern|Manaia|Manawatu|Mangonui|Maniototo|Marlborough|Masterton|Matamata|Mount Herbert|Ohinemuri|Opotiki|Oroua|Otamatea|Otorohanga|Oxford|Pahiatua|Paparua|Patea|Piako|Pohangina|Raglan|Rangiora|Rangitikei|Rodney|Rotorua|Runanga|Saint Kilda|Silverpeaks|Southland|Stewart Island|Stratford|Strathallan|Taranaki|Taumarunui|Taupo|Tauranga|Thames-Coromandel|Tuapeka|Vincent|Waiapu|Waiheke|Waihemo|Waikato|Waikohu|Waimairi|Waimarino|Waimate|Waimate West|Waimea|Waipa|Waipawa|Waipukurau|Wairarapa South|Wairewa|Wairoa|Waitaki|Waitomo|Waitotara|Wallace|Wanganui|Waverley|Westland|Whakatane|Whangarei|Whangaroa|Woodville";
- s_a[167]="Atlantico Norte|Atlantico Sur|Boaco|Carazo|Chinandega|Chontales|Esteli|Granada|Jinotega|Leon|Madriz|Managua|Masaya|Matagalpa|Nueva Segovia|Rio San Juan|Rivas";
- s_a[168]="Agadez|Diffa|Dosso|Maradi|Niamey|Tahoua|Tillaberi|Zinder";
- s_a[169]="Abia|Abuja Federal Capital Territory|Adamawa|Akwa Ibom|Anambra|Bauchi|Bayelsa|Benue|Borno|Cross River|Delta|Ebonyi|Edo|Ekiti|Enugu|Gombe|Imo|Jigawa|Kaduna|Kano|Katsina|Kebbi|Kogi|Kwara|Lagos|Nassarawa|Niger|Ogun|Ondo|Osun|Oyo|Plateau|Rivers|Sokoto|Taraba|Yobe|Zamfara";
- s_a[170]="Niue";
- s_a[171]="Norfolk Island";
- s_a[172]="Northern Islands|Rota|Saipan|Tinian";
- s_a[173]="Akershus|Aust-Agder|Buskerud|Finnmark|Hedmark|Hordaland|More og Romsdal|Nord-Trondelag|Nordland|Oppland|Oslo|Ostfold|Rogaland|Sogn og Fjordane|Sor-Trondelag|Telemark|Troms|Vest-Agder|Vestfold";
- s_a[174]="Ad Dakhiliyah|Al Batinah|Al Wusta|Ash Sharqiyah|Az Zahirah|Masqat|Musandam|Zufar";
- s_a[175]="Balochistan|Federally Administered Tribal Areas|Islamabad Capital Territory|North-West Frontier Province|Punjab|Sindh";
- s_a[176]="Aimeliik|Airai|Angaur|Hatobohei|Kayangel|Koror|Melekeok|Ngaraard|Ngarchelong|Ngardmau|Ngatpang|Ngchesar|Ngeremlengui|Ngiwal|Palau Island|Peleliu|Sonsoral|Tobi";
- s_a[177]="Bocas del Toro|Chiriqui|Cocle|Colon|Darien|Herrera|Los Santos|Panama|San Blas|Veraguas";
- s_a[178]="Bougainville|Central|Chimbu|East New Britain|East Sepik|Eastern Highlands|Enga|Gulf|Madang|Manus|Milne Bay|Morobe|National Capital|New Ireland|Northern|Sandaun|Southern Highlands|West New Britain|Western|Western Highlands";
- s_a[179]="Alto Paraguay|Alto Parana|Amambay|Asuncion (city)|Boqueron|Caaguazu|Caazapa|Canindeyu|Central|Concepcion|Cordillera|Guaira|Itapua|Misiones|Neembucu|Paraguari|Presidente Hayes|San Pedro";
- s_a[180]="Amazonas|Ancash|Apurimac|Arequipa|Ayacucho|Cajamarca|Callao|Cusco|Huancavelica|Huanuco|Ica|Junin|La Libertad|Lambayeque|Lima|Loreto|Madre de Dios|Moquegua|Pasco|Piura|Puno|San Martin|Tacna|Tumbes|Ucayali";
- s_a[181]="Abra|Agusan del Norte|Agusan del Sur|Aklan|Albay|Angeles|Antique|Aurora|Bacolod|Bago|Baguio|Bais|Basilan|Basilan City|Bataan|Batanes|Batangas|Batangas City|Benguet|Bohol|Bukidnon|Bulacan|Butuan|Cabanatuan|Cadiz|Cagayan|Cagayan de Oro|Calbayog|Caloocan|Camarines Norte|Camarines Sur|Camiguin|Canlaon|Capiz|Catanduanes|Cavite|Cavite City|Cebu|Cebu City|Cotabato|Dagupan|Danao|Dapitan|Davao City Davao|Davao del Sur|Davao Oriental|Dipolog|Dumaguete|Eastern Samar|General Santos|Gingoog|Ifugao|Iligan|Ilocos Norte|Ilocos Sur|Iloilo|Iloilo City|Iriga|Isabela|Kalinga-Apayao|La Carlota|La Union|Laguna|Lanao del Norte|Lanao del Sur|Laoag|Lapu-Lapu|Legaspi|Leyte|Lipa|Lucena|Maguindanao|Mandaue|Manila|Marawi|Marinduque|Masbate|Mindoro Occidental|Mindoro Oriental|Misamis Occidental|Misamis Oriental|Mountain|Naga|Negros Occidental|Negros Oriental|North Cotabato|Northern Samar|Nueva Ecija|Nueva Vizcaya|Olongapo|Ormoc|Oroquieta|Ozamis|Pagadian|Palawan|Palayan|Pampanga|Pangasinan|Pasay|Puerto Princesa|Quezon|Quezon City|Quirino|Rizal|Romblon|Roxas|Samar|San Carlos (in Negros Occidental)|San Carlos (in Pangasinan)|San Jose|San Pablo|Silay|Siquijor|Sorsogon|South Cotabato|Southern Leyte|Sultan Kudarat|Sulu|Surigao|Surigao del Norte|Surigao del Sur|Tacloban|Tagaytay|Tagbilaran|Tangub|Tarlac|Tawitawi|Toledo|Trece Martires|Zambales|Zamboanga|Zamboanga del Norte|Zamboanga del Sur";
- s_a[182]="Pitcaim Islands";
- s_a[183]="Dolnoslaskie|Kujawsko-Pomorskie|Lodzkie|Lubelskie|Lubuskie|Malopolskie|Mazowieckie|Opolskie|Podkarpackie|Podlaskie|Pomorskie|Slaskie|Swietokrzyskie|Warminsko-Mazurskie|Wielkopolskie|Zachodniopomorskie";
- s_a[184]="Acores (Azores)|Aveiro|Beja|Braga|Braganca|Castelo Branco|Coimbra|Evora|Faro|Guarda|Leiria|Lisboa|Madeira|Portalegre|Porto|Santarem|Setubal|Viana do Castelo|Vila Real|Viseu";
- s_a[185]="Adjuntas|Aguada|Aguadilla|Aguas Buenas|Aibonito|Anasco|Arecibo|Arroyo|Barceloneta|Barranquitas|Bayamon|Cabo Rojo|Caguas|Camuy|Canovanas|Carolina|Catano|Cayey|Ceiba|Ciales|Cidra|Coamo|Comerio|Corozal|Culebra|Dorado|Fajardo|Florida|Guanica|Guayama|Guayanilla|Guaynabo|Gurabo|Hatillo|Hormigueros|Humacao|Isabela|Jayuya|Juana Diaz|Juncos|Lajas|Lares|Las Marias|Las Piedras|Loiza|Luquillo|Manati|Maricao|Maunabo|Mayaguez|Moca|Morovis|Naguabo|Naranjito|Orocovis|Patillas|Penuelas|Ponce|Quebradillas|Rincon|Rio Grande|Sabana Grande|Salinas|San German|San Juan|San Lorenzo|San Sebastian|Santa Isabel|Toa Alta|Toa Baja|Trujillo Alto|Utuado|Vega Alta|Vega Baja|Vieques|Villalba|Yabucoa|Yauco";
- s_a[186]="Ad Dawhah|Al Ghuwayriyah|Al Jumayliyah|Al Khawr|Al Wakrah|Ar Rayyan|Jarayan al Batinah|Madinat ash Shamal|Umm Salal";
- s_a[187]="Reunion";
- s_a[188]="Alba|Arad|Arges|Bacau|Bihor|Bistrita-Nasaud|Botosani|Braila|Brasov|Bucuresti|Buzau|Calarasi|Caras-Severin|Cluj|Constanta|Covasna|Dimbovita|Dolj|Galati|Giurgiu|Gorj|Harghita|Hunedoara|Ialomita|Iasi|Maramures|Mehedinti|Mures|Neamt|Olt|Prahova|Salaj|Satu Mare|Sibiu|Suceava|Teleorman|Timis|Tulcea|Vaslui|Vilcea|Vrancea";
- s_a[189] = "";
- s_a[190]="Butare|Byumba|Cyangugu|Gikongoro|Gisenyi|Gitarama|Kibungo|Kibuye|Kigali Rurale|Kigali-ville|Ruhengeri|Umutara";
- s_a[191]="Ascension|Saint Helena|Tristan da Cunha";
- s_a[192]="Christ Church Nichola Town|Saint Anne Sandy Point|Saint George Basseterre|Saint George Gingerland|Saint James Windward|Saint John Capisterre|Saint John Figtree|Saint Mary Cayon|Saint Paul Capisterre|Saint Paul Charlestown|Saint Peter Basseterre|Saint Thomas Lowland|Saint Thomas Middle Island|Trinity Palmetto Point";
- s_a[193]="Anse-la-Raye|Castries|Choiseul|Dauphin|Dennery|Gros Islet|Laborie|Micoud|Praslin|Soufriere|Vieux Fort";
- s_a[194]="Miquelon|Saint Pierre";
- s_a[195]="Charlotte|Grenadines|Saint Andrew|Saint David|Saint George|Saint Patrick";
- s_a[196]="A'ana|Aiga-i-le-Tai|Atua|Fa'asaleleaga|Gaga'emauga|Gagaifomauga|Palauli|Satupa'itea|Tuamasaga|Va'a-o-Fonoti|Vaisigano";
- s_a[197]="Acquaviva|Borgo Maggiore|Chiesanuova|Domagnano|Faetano|Fiorentino|Monte Giardino|San Marino|Serravalle";
- s_a[198]="Principe|Sao Tome";
- s_a[199]="'Asir|Al Bahah|Al Hudud ash Shamaliyah|Al Jawf|Al Madinah|Al Qasim|Ar Riyad|Ash Sharqiyah (Eastern Province)|Ha'il|Jizan|Makkah|Najran|Tabuk";
- s_a[200]="Aberdeen City|Aberdeenshire|Angus|Argyll and Bute|City of Edinburgh|Clackmannanshire|Dumfries and Galloway|Dundee City|East Ayrshire|East Dunbartonshire|East Lothian|East Renfrewshire|Eilean Siar (Western Isles)|Falkirk|Fife|Glasgow City|Highland|Inverclyde|Midlothian|Moray|North Ayrshire|North Lanarkshire|Orkney Islands|Perth and Kinross|Renfrewshire|Shetland Islands|South Ayrshire|South Lanarkshire|Stirling|The Scottish Borders|West Dunbartonshire|West Lothian";
- s_a[201]="Dakar|Diourbel|Fatick|Kaolack|Kolda|Louga|Saint-Louis|Tambacounda|Thies|Ziguinchor";
- s_a[202]="Anse aux Pins|Anse Boileau|Anse Etoile|Anse Louis|Anse Royale|Baie Lazare|Baie Sainte Anne|Beau Vallon|Bel Air|Bel Ombre|Cascade|Glacis|Grand' Anse (on Mahe)|Grand' Anse (on Praslin)|La Digue|La Riviere Anglaise|Mont Buxton|Mont Fleuri|Plaisance|Pointe La Rue|Port Glaud|Saint Louis|Takamaka";
- s_a[203]="Eastern|Northern|Southern|Western";
- s_a[204]="Singapore";
- s_a[205]="Banskobystricky|Bratislavsky|Kosicky|Nitriansky|Presovsky|Trenciansky|Trnavsky|Zilinsky";
- s_a[206]="Ajdovscina|Beltinci|Bled|Bohinj|Borovnica|Bovec|Brda|Brezice|Brezovica|Cankova-Tisina|Celje|Cerklje na Gorenjskem|Cerknica|Cerkno|Crensovci|Crna na Koroskem|Crnomelj|Destrnik-Trnovska Vas|Divaca|Dobrepolje|Dobrova-Horjul-Polhov Gradec|Dol pri Ljubljani|Domzale|Dornava|Dravograd|Duplek|Gorenja Vas-Poljane|Gorisnica|Gornja Radgona|Gornji Grad|Gornji Petrovci|Grosuplje|Hodos Salovci|Hrastnik|Hrpelje-Kozina|Idrija|Ig|Ilirska Bistrica|Ivancna Gorica|Izola|Jesenice|Jursinci|Kamnik|Kanal|Kidricevo|Kobarid|Kobilje|Kocevje|Komen|Koper|Kozje|Kranj|Kranjska Gora|Krsko|Kungota|Kuzma|Lasko|Lenart|Lendava|Litija|Ljubljana|Ljubno|Ljutomer|Logatec|Loska Dolina|Loski Potok|Luce|Lukovica|Majsperk|Maribor|Medvode|Menges|Metlika|Mezica|Miren-Kostanjevica|Mislinja|Moravce|Moravske Toplice|Mozirje|Murska Sobota|Muta|Naklo|Nazarje|Nova Gorica|Novo Mesto|Odranci|Ormoz|Osilnica|Pesnica|Piran|Pivka|Podcetrtek|Podvelka-Ribnica|Postojna|Preddvor|Ptuj|Puconci|Race-Fram|Radece|Radenci|Radlje ob Dravi|Radovljica|Ravne-Prevalje|Ribnica|Rogasevci|Rogaska Slatina|Rogatec|Ruse|Semic|Sencur|Sentilj|Sentjernej|Sentjur pri Celju|Sevnica|Sezana|Skocjan|Skofja Loka|Skofljica|Slovenj Gradec|Slovenska Bistrica|Slovenske Konjice|Smarje pri Jelsah|Smartno ob Paki|Sostanj|Starse|Store|Sveti Jurij|Tolmin|Trbovlje|Trebnje|Trzic|Turnisce|Velenje|Velike Lasce|Videm|Vipava|Vitanje|Vodice|Vojnik|Vrhnika|Vuzenica|Zagorje ob Savi|Zalec|Zavrc|Zelezniki|Ziri|Zrece";
- s_a[207]="Bellona|Central|Choiseul (Lauru)|Guadalcanal|Honiara|Isabel|Makira|Malaita|Rennell|Temotu|Western";
- s_a[208]="Awdal|Bakool|Banaadir|Bari|Bay|Galguduud|Gedo|Hiiraan|Jubbada Dhexe|Jubbada Hoose|Mudug|Nugaal|Sanaag|Shabeellaha Dhexe|Shabeellaha Hoose|Sool|Togdheer|Woqooyi Galbeed";
- s_a[209]="Eastern Cape|Free State|Gauteng|KwaZulu-Natal|Mpumalanga|North-West|Northern Cape|Northern Province|Western Cape";
- s_a[210]="Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands";
- s_a[211]="Andalucia|Aragon|Asturias|Baleares (Balearic Islands)|Canarias (Canary Islands)|Cantabria|Castilla y Leon|Castilla-La Mancha|Cataluna|Ceuta|Communidad Valencian|Extremadura|Galicia|Islas Chafarinas|La Rioja|Madrid|Melilla|Murcia|Navarra|Pais Vasco (Basque Country)|Penon de Alhucemas|Penon de Velez de la Gomera";
- s_a[212]="Spratly Islands";
- s_a[213]="Central|Eastern|North Central|North Eastern|North Western|Northern|Sabaragamuwa|Southern|Uva|Western";
- s_a[214]="A'ali an Nil|Al Bahr al Ahmar|Al Buhayrat|Al Jazirah|Al Khartum|Al Qadarif|Al Wahdah|An Nil al Abyad|An Nil al Azraq|Ash Shamaliyah|Bahr al Jabal|Gharb al Istiwa'iyah|Gharb Bahr al Ghazal|Gharb Darfur|Gharb Kurdufan|Janub Darfur|Janub Kurdufan|Junqali|Kassala|Nahr an Nil|Shamal Bahr al Ghazal|Shamal Darfur|Shamal Kurdufan|Sharq al Istiwa'iyah|Sinnar|Warab";
- s_a[215]="Brokopondo|Commewijne|Coronie|Marowijne|Nickerie|Para|Paramaribo|Saramacca|Sipaliwini|Wanica";
- s_a[216]="Barentsoya|Bjornoya|Edgeoya|Hopen|Kvitoya|Nordaustandet|Prins Karls Forland|Spitsbergen";
- s_a[217]="Hhohho|Lubombo|Manzini|Shiselweni";
- s_a[218]="Blekinge|Dalarnas|Gavleborgs|Gotlands|Hallands|Jamtlands|Jonkopings|Kalmar|Kronobergs|Norrbottens|Orebro|Ostergotlands|Skane|Sodermanlands|Stockholms|Uppsala|Varmlands|Vasterbottens|Vasternorrlands|Vastmanlands|Vastra Gotalands";
- s_a[219]="Aargau|Ausser-Rhoden|Basel-Landschaft|Basel-Stadt|Bern|Fribourg|Geneve|Glarus|Graubunden|Inner-Rhoden|Jura|Luzern|Neuchatel|Nidwalden|Obwalden|Sankt Gallen|Schaffhausen|Schwyz|Solothurn|Thurgau|Ticino|Uri|Valais|Vaud|Zug|Zurich";
- s_a[220]="Al Hasakah|Al Ladhiqiyah|Al Qunaytirah|Ar Raqqah|As Suwayda'|Dar'a|Dayr az Zawr|Dimashq|Halab|Hamah|Hims|Idlib|Rif Dimashq|Tartus";
- s_a[221]="Chang-hua|Chi-lung|Chia-i|Chia-i|Chung-hsing-hsin-ts'un|Hsin-chu|Hsin-chu|Hua-lien|I-lan|Kao-hsiung|Kao-hsiung|Miao-li|Nan-t'ou|P'eng-hu|P'ing-tung|T'ai-chung|T'ai-chung|T'ai-nan|T'ai-nan|T'ai-pei|T'ai-pei|T'ai-tung|T'ao-yuan|Yun-lin";
- s_a[222]="Viloyati Khatlon|Viloyati Leninobod|Viloyati Mukhtori Kuhistoni Badakhshon";
- s_a[223]="Arusha|Dar es Salaam|Dodoma|Iringa|Kagera|Kigoma|Kilimanjaro|Lindi|Mara|Mbeya|Morogoro|Mtwara|Mwanza|Pemba North|Pemba South|Pwani|Rukwa|Ruvuma|Shinyanga|Singida|Tabora|Tanga|Zanzibar Central/South|Zanzibar North|Zanzibar Urban/West";
- s_a[224]="Amnat Charoen|Ang Thong|Buriram|Chachoengsao|Chai Nat|Chaiyaphum|Chanthaburi|Chiang Mai|Chiang Rai|Chon Buri|Chumphon|Kalasin|Kamphaeng Phet|Kanchanaburi|Khon Kaen|Krabi|Krung Thep Mahanakhon (Bangkok)|Lampang|Lamphun|Loei|Lop Buri|Mae Hong Son|Maha Sarakham|Mukdahan|Nakhon Nayok|Nakhon Pathom|Nakhon Phanom|Nakhon Ratchasima|Nakhon Sawan|Nakhon Si Thammarat|Nan|Narathiwat|Nong Bua Lamphu|Nong Khai|Nonthaburi|Pathum Thani|Pattani|Phangnga|Phatthalung|Phayao|Phetchabun|Phetchaburi|Phichit|Phitsanulok|Phra Nakhon Si Ayutthaya|Phrae|Phuket|Prachin Buri|Prachuap Khiri Khan|Ranong|Ratchaburi|Rayong|Roi Et|Sa Kaeo|Sakon Nakhon|Samut Prakan|Samut Sakhon|Samut Songkhram|Sara Buri|Satun|Sing Buri|Sisaket|Songkhla|Sukhothai|Suphan Buri|Surat Thani|Surin|Tak|Trang|Trat|Ubon Ratchathani|Udon Thani|Uthai Thani|Uttaradit|Yala|Yasothon";
- s_a[225]="Tobago";
- s_a[226]="De La Kara|Des Plateaux|Des Savanes|Du Centre|Maritime";
- s_a[227]="Atafu|Fakaofo|Nukunonu";
- s_a[228]="Ha'apai|Tongatapu|Vava'u";
- s_a[229]="Arima|Caroni|Mayaro|Nariva|Port-of-Spain|Saint Andrew|Saint David|Saint George|Saint Patrick|San Fernando|Victoria";
- s_a[230]="Ariana|Beja|Ben Arous|Bizerte|El Kef|Gabes|Gafsa|Jendouba|Kairouan|Kasserine|Kebili|Mahdia|Medenine|Monastir|Nabeul|Sfax|Sidi Bou Zid|Siliana|Sousse|Tataouine|Tozeur|Tunis|Zaghouan";
- s_a[231]="Adana|Adiyaman|Afyon|Agri|Aksaray|Amasya|Ankara|Antalya|Ardahan|Artvin|Aydin|Balikesir|Bartin|Batman|Bayburt|Bilecik|Bingol|Bitlis|Bolu|Burdur|Bursa|Canakkale|Cankiri|Corum|Denizli|Diyarbakir|Duzce|Edirne|Elazig|Erzincan|Erzurum|Eskisehir|Gaziantep|Giresun|Gumushane|Hakkari|Hatay|Icel|Igdir|Isparta|Istanbul|Izmir|Kahramanmaras|Karabuk|Karaman|Kars|Kastamonu|Kayseri|Kilis|Kirikkale|Kirklareli|Kirsehir|Kocaeli|Konya|Kutahya|Malatya|Manisa|Mardin|Mugla|Mus|Nevsehir|Nigde|Ordu|Osmaniye|Rize|Sakarya|Samsun|Sanliurfa|Siirt|Sinop|Sirnak|Sivas|Tekirdag|Tokat|Trabzon|Tunceli|Usak|Van|Yalova|Yozgat|Zonguldak";
- s_a[232]="Ahal Welayaty|Balkan Welayaty|Dashhowuz Welayaty|Lebap Welayaty|Mary Welayaty";
- s_a[233]="Tuvalu";
- s_a[234]="Adjumani|Apac|Arua|Bugiri|Bundibugyo|Bushenyi|Busia|Gulu|Hoima|Iganga|Jinja|Kabale|Kabarole|Kalangala|Kampala|Kamuli|Kapchorwa|Kasese|Katakwi|Kibale|Kiboga|Kisoro|Kitgum|Kotido|Kumi|Lira|Luwero|Masaka|Masindi|Mbale|Mbarara|Moroto|Moyo|Mpigi|Mubende|Mukono|Nakasongola|Nebbi|Ntungamo|Pallisa|Rakai|Rukungiri|Sembabule|Soroti|Tororo";
- s_a[235]="Avtonomna Respublika Krym (Simferopol')|Cherkas'ka (Cherkasy)|Chernihivs'ka (Chernihiv)|Chernivets'ka (Chernivtsi)|Dnipropetrovs'ka (Dnipropetrovs'k)|Donets'ka (Donets'k)|Ivano-Frankivs'ka (Ivano-Frankivs'k)|Kharkivs'ka (Kharkiv)|Khersons'ka (Kherson)|Khmel'nyts'ka (Khmel'nyts'kyy)|Kirovohrads'ka (Kirovohrad)|Kyyiv|Kyyivs'ka (Kiev)|L'vivs'ka (L'viv)|Luhans'ka (Luhans'k)|Mykolayivs'ka (Mykolayiv)|Odes'ka (Odesa)|Poltavs'ka (Poltava)|Rivnens'ka (Rivne)|Sevastopol'|Sums'ka (Sumy)|Ternopil's'ka (Ternopil')|Vinnyts'ka (Vinnytsya)|Volyns'ka (Luts'k)|Zakarpats'ka (Uzhhorod)|Zaporiz'ka (Zaporizhzhya)|Zhytomyrs'ka (Zhytomyr)"
- s_a[236]="'Ajman|Abu Zaby (Abu Dhabi)|Al Fujayrah|Ash Shariqah (Sharjah)|Dubayy (Dubai)|Ra's al Khaymah|Umm al Qaywayn";
- s_a[237]="Barking and Dagenham|Barnet|Barnsley|Bath and North East Somerset|Bedfordshire|Bexley|Birmingham|Blackburn with Darwen|Blackpool|Bolton|Bournemouth|Bracknell Forest|Bradford|Brent|Brighton and Hove|Bromley|Buckinghamshire|Bury|Calderdale|Cambridgeshire|Camden|Cheshire|City of Bristol|City of Kingston upon Hull|City of London|Cornwall|Coventry|Croydon|Cumbria|Darlington|Derby|Derbyshire|Devon|Doncaster|Dorset|Dudley|Durham|Ealing|East Riding of Yorkshire|East Sussex|Enfield|Essex|Gateshead|Gloucestershire|Greenwich|Hackney|Halton|Hammersmith and Fulham|Hampshire|Haringey|Harrow|Hartlepool|Havering|Herefordshire|Hertfordshire|Hillingdon|Hounslow|Isle of Wight|Islington|Kensington and Chelsea|Kent|Kingston upon Thames|Kirklees|Knowsley|Lambeth|Lancashire|Leeds|Leicester|Leicestershire|Lewisham|Lincolnshire|Liverpool|Luton|Manchester|Medway|Merton|Middlesbrough|Milton Keynes|Newcastle upon Tyne|Newham|Norfolk|North East Lincolnshire|North Lincolnshire|North Somerset|North Tyneside|North Yorkshire|Northamptonshire|Northumberland|Nottingham|Nottinghamshire|Oldham|Oxfordshire|Peterborough|Plymouth|Poole|Portsmouth|Reading|Redbridge|Redcar and Cleveland|Richmond upon Thames|Rochdale|Rotherham|Rutland|Salford|Sandwell|Sefton|Sheffield|Shropshire|Slough|Solihull|Somerset|South Gloucestershire|South Tyneside|Southampton|Southend-on-Sea|Southwark|St. Helens|Staffordshire|Stockport|Stockton-on-Tees|Stoke-on-Trent|Suffolk|Sunderland|Surrey|Sutton|Swindon|Tameside|Telford and Wrekin|Thurrock|Torbay|Tower Hamlets|Trafford|Wakefield|Walsall|Waltham Forest|Wandsworth|Warrington|Warwickshire|West Berkshire|West Sussex|Westminster|Wigan|Wiltshire|Windsor and Maidenhead|Wirral|Wokingham|Wolverhampton|Worcestershire|York";
- s_a[238]="Artigas|Canelones|Cerro Largo|Colonia|Durazno|Flores|Florida|Lavalleja|Maldonado|Montevideo|Paysandu|Rio Negro|Rivera|Rocha|Salto|San Jose|Soriano|Tacuarembo|Treinta y Tres";
- s_a[239]="Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Rhode Island|South Carolina|South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|Wyoming";
- s_a[240]="Andijon Wiloyati|Bukhoro Wiloyati|Farghona Wiloyati|Jizzakh Wiloyati|Khorazm Wiloyati (Urganch)|Namangan Wiloyati|Nawoiy Wiloyati|Qashqadaryo Wiloyati (Qarshi)|Qoraqalpoghiston (Nukus)|Samarqand Wiloyati|Sirdaryo Wiloyati (Guliston)|Surkhondaryo Wiloyati (Termiz)|Toshkent Shahri|Toshkent Wiloyati";
- s_a[241]="Malampa|Penama|Sanma|Shefa|Tafea|Torba";
- s_a[242]="Amazonas|Anzoategui|Apure|Aragua|Barinas|Bolivar|Carabobo|Cojedes|Delta Amacuro|Dependencias Federales|Distrito Federal|Falcon|Guarico|Lara|Merida|Miranda|Monagas|Nueva Esparta|Portuguesa|Sucre|Tachira|Trujillo|Vargas|Yaracuy|Zulia";
- s_a[243]="An Giang|Ba Ria-Vung Tau|Bac Giang|Bac Kan|Bac Lieu|Bac Ninh|Ben Tre|Binh Dinh|Binh Duong|Binh Phuoc|Binh Thuan|Ca Mau|Can Tho|Cao Bang|Da Nang|Dac Lak|Dong Nai|Dong Thap|Gia Lai|Ha Giang|Ha Nam|Ha Noi|Ha Tay|Ha Tinh|Hai Duong|Hai Phong|Ho Chi Minh|Hoa Binh|Hung Yen|Khanh Hoa|Kien Giang|Kon Tum|Lai Chau|Lam Dong|Lang Son|Lao Cai|Long An|Nam Dinh|Nghe An|Ninh Binh|Ninh Thuan|Phu Tho|Phu Yen|Quang Binh|Quang Nam|Quang Ngai|Quang Ninh|Quang Tri|Soc Trang|Son La|Tay Ninh|Thai Binh|Thai Nguyen|Thanh Hoa|Thua Thien-Hue|Tien Giang|Tra Vinh|Tuyen Quang|Vinh Long|Vinh Phuc|Yen Bai";
- s_a[244]="Saint Croix|Saint John|Saint Thomas";
- s_a[245]="Blaenau Gwent|Bridgend|Caerphilly|Cardiff|Carmarthenshire|Ceredigion|Conwy|Denbighshire|Flintshire|Gwynedd|Isle of Anglesey|Merthyr Tydfil|Monmouthshire|Neath Port Talbot|Newport|Pembrokeshire|Powys|Rhondda Cynon Taff|Swansea|The Vale of Glamorgan|Torfaen|Wrexham";
- s_a[246]="Alo|Sigave|Wallis";
- s_a[247]="West Bank";
- s_a[248]="Western Sahara";
- s_a[249]="'Adan|'Ataq|Abyan|Al Bayda'|Al Hudaydah|Al Jawf|Al Mahrah|Al Mahwit|Dhamar|Hadhramawt|Hajjah|Ibb|Lahij|Ma'rib|Sa'dah|San'a'|Ta'izz";
- s_a[250]="Kosovo|Montenegro|Serbia|Vojvodina";
- s_a[251]="Central|Copperbelt|Eastern|Luapula|Lusaka|North-Western|Northern|Southern|Western";
- s_a[252]="Bulawayo|Harare|ManicalandMashonaland Central|Mashonaland East|Mashonaland West|Masvingo|Matabeleland North|Matabeleland South|Midlands";
- s_a[253]="North Chungcheong|South Chungcheong|Gangwon|Gyeonggi|North Gyeongsang|South Gyeongsang|North Jeolla|South Jeolla|Jeju";
- function loadDeliveryStates(){
- removeOptions($('#delivery-state')[0]);
- $('#delivery-state')[0].options[0] = new Option("State","", true, true);
- $('#delivery-state')[0].options[1] = new Option("None","None");
- let state_list = s_a[ country_arr.indexOf($('#delivery-country option[value="' + $('#delivery-country').val() + '"]').text()) + 1].split("|");
- if(!state_list.toString() == ""){
- for (var i=0; i<state_list.length; i++) {
- $('#delivery-state')[0].options[$('#delivery-state')[0].options.length] = new Option(state_list[i],state_list[i]);
- }
- }
- };
- function loadBillingStates(){
- removeOptions($('#billing-state')[0]);
- $('#billing-state')[0].options[0] = new Option("State","", true, true);
- $('#billing-state')[0].options[1] = new Option("None","None");
- let state_list = s_a[ country_arr.indexOf($('#billing-country option[value="' + $('#billing-country').val() + '"]').text()) + 1].split("|");
- if(!state_list.toString() == ""){
- for (var i=0; i<state_list.length; i++) {
- $('#billing-state')[0].options[$('#billing-state')[0].options.length] = new Option(state_list[i],state_list[i]);
- }
- }
- };
- $('#delivery-country').change(function(){
- loadDeliveryStates();
- });
- $('#billing-country').change(function(){
- loadBillingStates();
- });
- function removeOptions(selectbox)
- {
- var i;
- for(i = selectbox.options.length - 1 ; i >= 0 ; i--)
- {
- selectbox.remove(i);
- }
- }
- $("#test-site").change(function(){
- if($("#test-site option:selected").text() == "Custom"){
- swal({
- title: 'Set custom site',
- content: {
- element: "input",
- attributes: {
- placeholder: "Input link",
- }},
- button: {
- text: "Set",
- },
- })
- .then(link => {
- if(link){
- $("#test-site option:selected").val(link);
- }
- })
- }
- })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement