"); define("EMAIL_PASS","
Your Password is: %s
"); define("EMAIL_USER","

Your User name is: %s
"); define("EMAIL_WELCOME_GREET","Welcome %s,

"); define("EMAIL_WELCOME_TEXT","You have registered as %s"); define("EMAIL_FOOTER","


Thank You,
admin@recruitn.com"); //mail regarding dispute to employer define("EMAIL_EMPLOYER_SUBJECT","Decision has been made on Pending Dispute"); define("EMAIL_EMPLOYER_BODY","employer_name,

Regarding the disputed purchase of candidate: candidate_name

Recruit'n has ruled to employer_refund.

To view the details of this dispute click here.

Regards,

Recruit'n
http://www.recruitn.com"); //mail regarding researcher accepts employer's invitation define("INVITE_SUBJECT","%s has accepted the invitation to join your vendor list"); define("INVITE_BODY",": Dear employer_name,

researcher_name has accepted the invitation to join your vendor list and can now submit their candidates to your open job orders.

Happy Hunting,

Recruit'n
http://www.recruitn.com"); define("EMAIL_RESEARCHER_BODY","researcher_name,

Regarding the disputed purchase of candidate: candidate_name

Recruit'n has ruled to employer_refund.

To view the details of this dispute click here.

Regards,

Recruit'n
http://www.recruitn.com"); ?>\r\n"; $headers .= "X-Priority: 1\r\n"; $headers .= "X-MSMail-Priority: High\r\n"; $headers .= "X-Mailer: Just My Server"; mail($to, $subject, $headermessage, $headers); } } $recruitmail = new recruitmail(); ?> 0) { $sql_select .= "where "; for($i=0; $i"; //$query = substr($sql_select, 0, -4); return $sql_select; } function select_search($tablename,$searchstring,$searchfield) { $query = "select * from $tablename where "; $search_in = split(",",$searchfield); for($i=0;$iquery($query); } function query($query_string) { $this->Query_ID = @mysql_query($query_string) or die(mysql_error()); $this->Row = 0; $this->Errno = mysql_errno(); $this->Error = mysql_error(); return $this->Query_ID; } function record_exist($check_query) { $num = mysql_num_rows($check_query); if($num > 0) { $flag = 1; } else { $flag=0; } return $flag; } function db_perform_action($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') { // reset($data); if ($action == 'insert') { $query = 'insert into ' . $table . ' ('; while (list($columns, ) = each($data)) { $query .= $columns . ', '; } $query = substr($query, 0, -2) . ') values ('; reset($data); while (list(, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= 'now(), '; break; case 'null': $query .= 'null, '; break; default: $query .= '\'' . $this->db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ')'; } elseif ($action == 'update') { $query = 'update ' . $table . ' set '; while (list($columns, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= $columns . ' = now(), '; break; case 'null': $query .= $columns .= ' = null, '; break; default: $query .= $columns . ' = \'' . $this->db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ' where ' . $parameters; //echo $query; } return $this->query($query); } function db_input($string) { return addslashes($string); } function db_delete($tablename,$where) { if($where!='') { $query = "delete from $tablename where $where"; } else { $query = "delete from $tablename"; } $this->query($query); } } $sqlqueries = new sqlQueries(); ?>« Previous "; } else { //echo "<<   Prev  "; } $totpages = ceil($totalrecs/$limitrecs); if($totpages > ($currpage - ($currpage % $limitpages) + $limitpages)) { $j=($currpage - ($currpage % $limitpages) + $limitpages); } else { $j=$totpages; } for($i=($currpage - ($currpage % $limitpages)); $i < $j; $i++) { $real_page = $i + 1; if ($real_page!=$currpage) { if(strpos($pagename,'?')) { $output .= " ".$real_page." "; } else { $output .= " ".$real_page." "; } } else { $output .= "".$real_page.""; } } $nextpage = $currpage + 1; if(($totpages - $currpage) > $limitpages) { $output .= '…'; } if($currpage != $totpages) { if(strpos($pagename,'?')) { $output .= " Next » "; } else { $output .= " Next » "; } } else { // echo "  Next   >>"; } echo $output; } /* $user_view_limit = 20; if ((empty($page)) || ($page <= 0)) { $page = 1; } $limitvalue = $page * $user_view_limit-($user_view_limit); function make_user_page_nums($totalrows, $print_query, $page_name) { global $user_view_limit; global $page; global $limitvalue; echo "Pages: "; if($page != 1) { $pageprev = $page - 1; echo "<Prev "; } else { echo "Prev  "; } $numofpages = ceil($totalrows/$user_view_limit); for($i= 0; $i < $numofpages; $i++) { $real_page = $i + 1; if ($real_page!=$page) { echo " ".$real_page." "; } else { echo "".$real_page.""; } } if(($totalrows-($user_view_limit*$page)) > 0) { $pagenext = $page + 1; echo " Next > "; } else { echo "  Next"; } } */ ?> Museum