コード例 #1
0
include "../includes/config.inc.php";
//include("includes/crosssite.inc.php");
$newClient = mysql_real_escape_string($_POST['newClient']);
error_reporting(0);
?>
<select name="orgranization" id="orgranization" class="form-control drop_down">
	<option value="">Select Orgranization</option>                         
    <?php 
$Country = mysql_query("SELECT * FROM tblcallingdata where status='0' ORDER BY Company_Name ASC");
while ($resultCountry = mysql_fetch_assoc($Country)) {
    ?>
    <option value="<?php 
    echo $resultCountry['id'];
    ?>
" 
    <?php 
    if (isset($_SESSION['organization']) && $resultCountry['id'] == $_SESSION['organization']) {
        ?>
selected			    <?php 
    }
    ?>
>
    <?php 
    echo getOraganization(stripslashes(ucfirst($resultCountry['id'])));
    ?>
</option>
    <?php 
}
?>
</select>
コード例 #2
0
            }
            ?>
                <tr <?php 
            print $class;
            ?>
>
                <td><small><?php 
            print $kolor++;
            ?>
.</small></td>
                <td><small><?php 
            echo stripslashes($row["T_Id"]);
            ?>
</small></td>
                <td><small><?php 
            echo getOraganization(stripslashes($row["O_Id"]));
            ?>
</small></td>
                <td><small><?php 
            echo getproducts(stripslashes($row["P_id"]));
            ?>
</small></td>
                <td><small><?php 
            echo getRequesttype(stripslashes($row["R_type"]));
            ?>
</small></td>
                <td><small>
                <?php 
            if ($row["T_status"] == 0) {
                echo "<span style='color:red; font-weight:bold;'>Pending</span>";
            } else {
コード例 #3
0
        }
        ?>
          		 <tr <?php 
        print $class;
        ?>
>
                 <td><small><?php 
        print $kolor++;
        ?>
.</small></td>
                 <td><small><?php 
        echo stripslashes($row["ticket_id"]);
        ?>
</small></td>
				 <td><small><?php 
        echo getOraganization(stripslashes($row["organization_id"]));
        ?>
</small></td>
				 <td><small><?php 
        echo getproducts(stripslashes($row["product"]));
        ?>
</small></td>
                 <td><small><?php 
        echo getRequesttype(stripslashes($row["rqst_type"]));
        ?>
</small></td>
				 <td><small><?php 
        echo stripslashes($row["createddate"]);
        ?>
</small></td>
                 <td><small><?php 
コード例 #4
0
    <div class="col-md-12">
    <form name='fullform' class="form-inline"  method='post' onSubmit="return confirmdelete(this)">
      <div class="col-md-12">
        <div class="form-group">
            <label for="exampleInputEmail2">Company</label>
            <select name="company" id="company" class="form-control drop_down" >
                <option value="">Select Company</option>
                <?php 
$Country = mysql_query("SELECT * FROM tbl_customer_master");
while ($resultCountry = mysql_fetch_assoc($Country)) {
    ?>
                <option value="<?php 
    echo $resultCountry['callingdata_id'];
    ?>
" ><?php 
    echo getOraganization(stripslashes(ucfirst($resultCountry['callingdata_id'])));
    ?>
</option>
                <?php 
}
?>
                </select>
        </div>
      </div> 
      <div id="divassign" class="col-md-12 table-responsive assign_grid">
          <!---- this division shows the Data of devices from Ajax request --->
      </div>
    </form>
    </div>
</div>
<!--end of the content-->
コード例 #5
0
    <form name='myform' action="" class="form-horizontal" method="post" onSubmit="return chkcontactform(this)">
       	<input type="hidden" name="submitForm" value="yes" />
        <input type='hidden' name='cid' id='cid'	value="<?php 
if (isset($_GET['ticket_id']) and $_GET['ticket_id'] > 0) {
    echo $_GET['ticket_id'];
}
?>
"/>
        <div class="col-md-12">
        
            <div class="form-group">
                <label for="provider" class="col-sm-2 control-label">Organization*</label>
                <div class="col-sm-10" id="divOrgranization">
                   <input type="text" name="organization" id="organization" value="<?php 
if (isset($result['ticket_id'])) {
    echo getOraganization($result['organization_id']);
}
?>
" class="form-control text_box" readonly>
                </div>
            </div>
            
            <div class="form-group">
                <label for="Product" class="col-sm-2 control-label">Product*</label>
                <div class="col-sm-10">
                <input type="text" name="products" id="products" value="<?php 
if (isset($result['ticket_id'])) {
    echo getproducts(stripslashes($result["product"]));
}
?>
" class="form-control text_box" readonly>
コード例 #6
0
                if ($row["invoiceType"] == "A") {
                    echo 'Rental';
                } elseif ($row["invoiceType"] == "B") {
                    echo 'Device';
                }
                ?>
</small></td>
      	<td><small><?php 
                echo stripslashes($row["paymentId"]);
                ?>
<input type="hidden" name="paymentId" id="paymentId" value="<?php 
                echo stripslashes($row["paymentId"]);
                ?>
" /></small></td>
		<td><small><?php 
                echo getOraganization(stripcslashes($row['callingdateId']));
                ?>
</small></td>
      	<td><small><?php 
                echo stripslashes($row["Amount"]);
                ?>
 </small></td>
        <td><small><?php 
                echo stripslashes($row["generateDate"]);
                ?>
</small></td>
        <td><small><?php 
                echo stripslashes($row["dueDate"]);
                ?>
</small></td>
        <td><small><?php 
コード例 #7
0
<input type="hidden" name="invoiceId" value="<?php 
                echo stripslashes($row["invoiceId"]);
                ?>
" /></small></td>
      	<td><small>
		  <?php 
                if ($row["invoiceType"] == "A") {
                    echo 'Rental';
                } elseif ($row["invoiceType"] == "B") {
                    echo 'Device';
                }
                ?>
        </small>
        </td>
		<td><small><?php 
                $orgName = getOraganization(stripslashes($row["callingdata_id"]));
                echo $orgName;
                ?>
</small></td>
      	<td><small><?php 
                echo stripslashes($row["generateDate"]);
                ?>
 </small></td>
        <td class="<?php 
                if (strtotime($row["dueDate"]) < strtotime(date("Y-m-d"))) {
                    echo 'datecolor';
                }
                ?>
">
        <small><?php 
                echo stripslashes($row["dueDate"]);
コード例 #8
0
        ?>
</small></td>
				 <td><small><?php 
        echo stripslashes($row["TicketId"]);
        ?>
</small></td>
				 <td><small><?php 
        echo getproducts(stripslashes($row["Pid"]));
        ?>
</small></td>
                 <td><small><?php 
        echo getRequesttype(stripslashes($row["VisitType"]));
        ?>
</small></td>
				 <td><small><?php 
        echo getOraganization(stripslashes($row["Company"]));
        ?>
</small></td>
                 <td><small><?php 
        echo gettelecallername(stripslashes($row["Tid"]));
        ?>
</small></td>
                 <td><textarea name="description" style="width:100px;"></textarea></td>
                 <td><input type="text" name="kmTravel" id="kmTravel<?php 
        print $kolor - 1;
        ?>
"  class="kmTravel" style="width:50px;" /></td>
                 <td><input type="text" name="fare" id="fare<?php 
        print $kolor - 1;
        ?>
"