?>
</small></td>
                <td><small><?php 
            echo $row["address"];
            ?>
</small></td>
                <td><small><?php 
            echo getarea($row["area"]);
            ?>
</small></td>
                <td><small><?php 
            echo getcities($row["city"]);
            ?>
</small></td>
                <td><small><?php 
            echo getstate($row["state"]);
            ?>
</small></td>
                <td><small><?php 
            echo $row["activationDate"];
            ?>
</small></td>
                <td><small><?php 
            echo gettelecallername($row["refferBy"]);
            ?>
</small></td>
                <td><small>
				<?php 
            if ($row["serviceBranch"] != NULL) {
                echo getBranch($row["serviceBranch"]);
            } else {
Exemplo n.º 2
0
function emailprop($emailid)
{
    global $First_Name, $Last_Name, $Organization, $Address, $Address2, $City, $State, $PostalCode, $Country, $WebPage, $Phone, $Fax;
    if ($FirstName) {
        emailat(1, $FirstName, $emailid);
    }
    if ($LastName) {
        emailat(12, $LastName, $emailid);
    }
    if ($Organization) {
        emailat(19, $Organization, $emailid);
    }
    if ($Address) {
        emailat(13, $Address, $emailid);
    }
    if ($Address2) {
        emailat(26, $Address2, $emailid);
    }
    if ($City) {
        emailat(14, $City, $emailid);
    }
    if ($PostalCode) {
        emailat(20, $PostalCode, $emailid);
    }
    if ($Country) {
        emailat(2, $Country, $emailid);
    }
    if ($Phone) {
        emailat(25, $Phone, $emailid);
    }
    if ($Fax) {
        emailat(24, $Fax, $emailid);
    }
    if ($WebPage) {
        emailat(27, $WebPage, $emailid);
    }
    if ($State) {
        $State = getstate($State);
        emailat(22, $State, $emailid);
    }
}
        ?>
</small></td>
						   <td><small><?php 
        echo stripslashes($row["Company_Name"]);
        ?>
</small></td>
						   <td><small><?php 
        echo stripslashes($row["Phone"]);
        ?>
</small></td>
						   <td><small><?php 
        echo stripslashes($row["Mobile"]);
        ?>
</small></td>
                           <td><small><?php 
        echo getstate(stripslashes($row["State"]));
        ?>
</small></td>
                           <td><small><?php 
        echo getcities(stripslashes($row["City"]));
        ?>
</small></td>
                           <td><small><?php 
        echo getarea(stripslashes($row["Area"]));
        ?>
</small></td>
                           <td><input type='checkbox' name='linkID[]' value='<?php 
        echo $row["id"];
        ?>
'></td>
                           </tr>
Exemplo n.º 4
0
<?php

include 'sqlcon.php';
include 'kartlib.php';
$state = $_POST['state'];
if (isset($state)) {
    $q = "TRUNCATE TABLE `state`";
    mysql_query($q) or die('MySQL Error(2)!!');
    $state = explode(',', $state);
    foreach ($state as $val) {
        $q = "INSERT INTO `state` (\n`sid` ,\n`name`\n)\nVALUES (\nNULL , '{$val}'\n)";
        mysql_query($q) or die('MySQL Error(3)!!');
    }
    echo '<script type="text/javascript"> alert("Saved Successfully!!"); </script>';
}
$states = getstate(0, 0);
$states = implode(',', $states);
?>
<form id="form1" name="form1" method="post" action="addstate.php">
  <p>
    <textarea name="state" id="textarea" cols="60" rows="8"><?php 
echo $states;
?>
</textarea>
  </p>
  <p>
    <input type="submit" name="button" id="button" value="Save" />
  </p>
</form>
"><?php 
            echo $vo["name"];
            ?>
</td>				
			<td id="dname_<?php 
            echo $vo["aid"];
            ?>
"><?php 
            echo $vo["dname"];
            ?>
</td>	
			<td id="state_<?php 
            echo $vo["aid"];
            ?>
"><?php 
            echo getstate($vo['state']);
            ?>
</td>	
			<td id="mobile_<?php 
            echo $vo["aid"];
            ?>
"><?php 
            echo $vo["mobile"];
            ?>
</td>	
			<td><a href="#" id="<?php 
            echo $vo["aid"];
            ?>
" data-uid="<?php 
            echo $vo["uid"];
            ?>
Exemplo n.º 6
0
        ?>
      </select></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><input type="submit" name="button3" id="button3" value="Next -&gt;" /></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
<?php 
    } else {
        $state = getstate(0, 1);
        ?>
<form id="form1" name="form1" method="post" action="addlocality.php?step=2">
  <table width="500" border="0" cellspacing="0">
    <tr>
      <td width="112">Select State</td>
      <td width="384"><select name="state" id="select">
      <?php 
        foreach ($state as $val) {
            $val = explode(':', $val);
            echo '<option value="' . $val[0] . '">' . $val[1] . '</option>';
        }
        ?>
        
      </select></td>
    </tr>
Exemplo n.º 7
0
}
?>
" class="form-control text_box" readonly></td>
        </tr>
        <tr >
        <td>Country</td>
        <td><input type="text" name="country" id="country" value="<?php 
if (isset($result['cust_id'])) {
    echo getcountry($result['Country']);
}
?>
" class="form-control text_box" readonly></td>
        <td>State</td>
        <td><input type="text" name="state" id="state" value="<?php 
if (isset($result['cust_id'])) {
    echo getstate($result['State']);
}
?>
" class="form-control text_box" readonly></td>
        </tr>
        <tr >
          <td>District</td>
          <td><input type="text" name="district" id="district" value="<?php 
if (isset($result['cust_id'])) {
    echo getdistrict($result['District_id']);
}
?>
" class="form-control text_box" readonly></td>
          <td>City</td>
          <td><input type="text" name="city" id="city" value="<?php 
if (isset($result['cust_id'])) {
Exemplo n.º 8
0
 }
 if ($skreq['Weapons'][$key] != 99) {
     $putsk .= "\t\tWeaponTypes: " . getweapontypes($skreq['Weapons'][$key], $id) . "\n";
 }
 if ($skreq['AmmoTypes'][$key] == 99) {
     $putsk .= "\t\tAmmoTypes: \"All\"\n";
 } else {
     if ($skreq['AmmoTypes'][$key]) {
         $putsk .= "\t\tAmmoTypes: " . getammotypes($skreq['AmmoTypes'][$key], $id) . "\n";
     }
 }
 if ($skreq['AmmoAmount'][$key]) {
     $putsk .= "\t\tAmmoAmount: " . leveled_guessfill($skreq['AmmoAmount'][$key], $max_level, $id, 1) . "\n";
 }
 if ($skreq['State'][$key] != "none" && $skreq['State'][$key]) {
     $putsk .= "\t\tState: \"" . getstate($skreq['State'][$key], $id) . "\"\n";
 }
 if ($skreq['SpiritSphere'][$key]) {
     $putsk .= "\t\tSpiritSphereCost: " . leveled_guessfill($skreq['SpiritSphere'][$key], $max_level, $id, 1) . "\n";
 }
 if ($skreqit['ItemId'][$key][0] > 0) {
     $putsk .= "\t\tItems: {\n";
     for ($index = 0; $index < sizeof($skreqit['ItemId'][$key]); $index++) {
         $itemID = $skreqit['ItemId'][$key][$index];
         // Required Item
         $itemamt = $skreqit['Amount'][$key][$index];
         // Required Amount
         if (strpos($itemID, ':') == true) {
             $items = explode(":", $itemID);
             $it = 0;
             while (isset($items) && isset($items[$it])) {