Followup Management System by Jessica
Abstract
Build long lasting relations with your clients and deliver your conversion to your customers with our best and innovative Follow-up Management system.
Description
Build long lasting relations with your clients and deliver your conversion to your customers with our best and innovative Follow-up Management system.
Code Snippet
<?php session_start(); error_reporting(0); if($_SESSION['username']=='') { ?> <script language="javascript"> window.location="login.php"; </script> <?php } include "database/db_conn.php"; include "functions/function.php"; include("functions/encrypt.php"); include('admin_header.php'); //To Clear Sessions from client view. $_SESSION['btnsearchclient']=''; //$_SESSION['txtsearchclient']=''; $_SESSION['businesstypesearch']=''; $_SESSION['leadsearch']=''; $_SESSION['citysearch']=''; $_SESSION['postsearch']=''; $_SESSION['usersearch']=''; $_SESSION['usermove']=''; $_SESSION['postassign']=''; $_REQUEST['btnsearchclient']=$_SESSION['btnsearchclient']; //$_REQUEST['txtsearchclient']=$_SESSION['txtsearchclient']; $_REQUEST['businesstypesearch']=$_SESSION['businesstypesearch']; $_REQUEST['citysearch']=$_SESSION['citysearch']; $_REQUEST['postsearch']=$_SESSION['postsearch']; $_REQUEST['usersearch']=$_SESSION['usersearch']; $_REQUEST['leadsearch']=$_SESSION['leadsearch']; $_REQUEST['usermove']=$_SESSION['usermove']; $_REQUEST['postassign']=$_SESSION['postassign']; //To Clear Session of User View. $_SESSION['btnsearchuser']=''; $_SESSION['txtsearchuser']=''; if($header !=1) { ?> <script language="javascript"> window.location="clientview.php"; </script> <?php } if($_GET['id']==''){ $s_title="Add User"; } else { $s_title="Update User"; } if(isset($_GET['id'])) { $userid=$_GET['id']; $sql="select * from users where id='".$userid."' and status!=0"; $result=mysql_query($sql); $row = mysql_fetch_assoc($result); } ?> <!-- <script language='javascript' type='text/javascript' src="js_follow/j.js"></script> <script language='javascript' type='text/javascript' src="js_follow/getContent.js"></script> --> <div class="section"> <form action="" method="post" name="user"> <label style="color:#FF0000;margin-left:800px;"></label> <fieldset> <legend> <span><b>User Details</b></span> </legend> <div id="msgerror" style="color:#FF0000;"></div> <input type="hidden" name="formname" id="formname" value="user"> <input type="hidden" name="id" value ="<?php echo $userid ; ?>" > <?php if($_GET['id']=='') { ?> <label> <div class="left_label">User Name:</div><div><input type="text" style="width:165px;" id="username" name="username" value="<?php echo $row['username']?>" /><font color="#FF0000"> * Updation in User Name will not allow.</font> </div></label> <?php } else {?> <label> <div class="left_label">User Name:</div><div><input style="width:165px;" readonly="readonly" type="text" id="username" name="username" value="<?php echo $row['username']?>" /> <font color="#FF0000">* You can not change User Name </font> </div></label> <?php }?> <label> <div class="left_label">Password:</div><div><input type="password" style="width:165px;" id="password" name="password" value="<?php echo base64_decode($row['password']);?>"/> </div></label> <label> <div class="left_label">Confirm Password:</div><div><input style="width:165px;" type="password" id="c_password" name="c_password" value="<?php echo base64_decode($row['password']);?>"/> </div></label> <label><div class="left_label">User Type :</div></label> <div><select name="type" id="type" class="combo_style"> <option value="0" >-Select-</option> <option value="1" <?php if($row['type']=='1'){?>selected<?php }?>>Administrator</option> <option value="2" <?php if($row['type']=='2'){?>selected<?php }?>>Employee</option> </select> <div> <label> <div class="left_label">Email Address:</div><div><input type="text" style="width:165px;" id="email" name="email" value="<?php echo $row['email']; ?>"/> </div> </label> <div style="margin-left:130px;"> <br/> <?php if($_GET['id']!='') { ?> <input type="button" value="Update" name="button" onClick="javascript:adduser(this.form)" class="btn_nw" /> <?php } else { ?> <input type="button" value="Add" name="button" onClick="javascript:adduser(this.form)" class="btn_nw"/> <?php } ?> <input type="button" name="Submit2"value="Back" onClick="return backuserview()" class="btn_nw"/> </div> </fieldset> </form> <div id="abc"></div> </div> <?php include('admin_footer.php');?> 

Leave a Response
(1 comment)Thank u it's very helpful .