Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- function select_func($table_name, $field_name, $condition) {
- if ($field_name != '') {
- if (!( $queryy = mysql_query( '' . 'select ' . $field_name . ' from ' . $table_name . ' where ' . $condition ))) {
- exit( mysql_error( ) );
- (bool)true;
- }
- $query = mysql_fetch_array( $queryy );
- return $query[0];
- }
- if (!( $queryy = mysql_query( '' . 'select * from ' . $table_name . ' where ' . $condition ))) {
- exit( mysql_error( ) );
- (bool)true;
- }
- $query = mysql_fetch_array( $queryy );
- return $query;
- }
- function get_all_states($get_id) {
- $con_id = select_func( 'state', 'con_id', '' . 'sta_id=\'' . $get_id . '\'' );
- if (!( $sta_query = mysql_query( '' . 'select * from state where con_id=\'' . $con_id . '\'' ))) {
- exit( mysql_error( ) );
- (bool)true;
- }
- while ($sta_fetch = mysql_fetch_array( $sta_query )) {
- if ($get_id == $sta_fetch['sta_id']) {
- $selected = 'Selected';
- } else {
- $selected = '';
- }
- echo '' . '<option ' . $selected . ' value=\'' . $sta_fetch['sta_id'] . '\'>' . $sta_fetch['sta_name'] . '</option>';
- }
- }
- function get_states() {
- echo '<option value=\'\'>Select State</option>';
- if (!( $sta_query = mysql_query( 'select * from state' ))) {
- exit( mysql_error( ) );
- (bool)true;
- }
- while ($sta_fetch = mysql_fetch_array( $sta_query )) {
- echo '' . '<option value=\'' . $sta_fetch['sta_id'] . '\'>' . $sta_fetch['sta_name'] . '</option>';
- }
- }
- function main() {
- include( 'language.php' );
- include_once( 'conn.php' );
- $self = basename( $_SERVER['PHP_SELF'] );
- $amt = mysql_real_escape_string( $_SESSION['total_amount'] );
- $amtpaypal = mysql_real_escape_string( $_SESSION['amtpaypal'] );
- if (isset( $_SESSION['memid'] )) {
- $memid = mysql_real_escape_string( $_SESSION['memid'] );
- } else {
- $memid = mysql_real_escape_string( $_SESSION['normal_memid'] );
- }
- $select_jobseeker = mysql_fetch_array( mysql_query( '' . 'select * from job_seeker where id=\'' . $memid . '\'' ) );
- $select_state = mysql_query( 'select * from state' );
- $price = mysql_real_escape_string( $_SESSION['total_amount'] );
- $rs0 = mysql_fetch_array( mysql_query( 'select * from zw_websetting' ) );
- $weburl = $rs0['weburl'];
- $date = date( 'Y-m-d' );
- $sessionid = session_id( );
- ............................................................
- .................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement