예제 #1
0
        ?>
 
		<script type="text/javascript">
			window.location="index.php?Page=Accounts&ID=<?php 
        echo $Update_Hidden;
        ?>
&Step=2";
		</script>
		<?php 
        print "<h4><font color='green'>Agent Updated</font></h4>";
    }
    /*1-05-2014*/
}
if (!empty($ID) && isset($_REQUEST['send']) && $_REQUEST['send'] == 1) {
    // send mail code start
    send_mail_document();
    header("location:index.php?Page=Accounts&ID={$ID}&Step=3");
    ?>
	<script type="text/javascript">
		window.location="index.php?Page=Accounts&ID=<?php 
    echo $Update_Hidden;
    ?>
&Step=3";
	</script>
	<?php 
    // send mail code ends
}
if ($UpdateD != '') {
    print "<h4><font color='green'>Name Updated</font></h4>";
    mysql_query("UPDATE AHO_User SET \n\tName = '{$Display_Name}'\n\tWHERE  id = '{$B_ID}' ");
}
예제 #2
0
        ?>
 
		<script type="text/javascript">
			window.location="index.php?Page=Accounts&ID=<?php 
        echo $Update_Hidden;
        ?>
&Step=2";
		</script>
		<?php 
        print "<h4><font color='green'>Agent Updated</font></h4>";
    }
    /*1-05-2014*/
}
if (!empty($ID) && isset($_REQUEST['send']) && $_REQUEST['send'] == 1) {
    // send mail code start
    send_mail_document($ID);
    header("location:index.php?Page=Accounts&ID={$ID}&Step=3");
    ?>
	<script type="text/javascript">
		window.location="index.php?Page=Accounts&ID=<?php 
    echo $ID;
    ?>
&Step=3";
	</script>
	<?php 
    // send mail code ends
}
if ($UpdateD != '') {
    print "<h4><font color='green'>Name Updated</font></h4>";
    mysql_query("UPDATE AHO_User SET \n\tName = '{$Display_Name}'\n\tWHERE  id = '{$B_ID}' ");
}