global $conn; $server = "db9.cpanelhosting.rs:3306"; $user = "snis1_veleprodaj"; $password = "vlpr24000*"; $dbName = "snis1_veleprodaja"; $baseURL = ""; $conn = mysql_connect($server,$user,$password, $dbName) or die("There was a problem connecting to MySQL. Please try again later."); // Set correct MySQL charset mysql_set_charset('utf8',$conn); if (!@mysql_select_db($dbName, $conn)) { die ("There was a problem connecting to the database. Please try again later."); } return $conn; ?> $logoImage = "images/logo-new.png"; $freeMemberProductsNo = 5; $freeMemberProductsImage = true; $freeMemberNewProductStatus = 1; function strquote($str) { return str_replace("'", "''", $str); } ?>/*-------------------------------------- Root folder functions Functions that support all scripts in / folder. --------------------------------------*/ //$lang_folder = 'serbian'; //include_once 'languages/'.$lang_folder.'/index.php'; //include_once 'languages/'.$lang_folder.'/supplier.php'; function BrowseByCategories() { global $lang; global $conn; echo ''; echo ''; } ?>
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
' . $lang['BROWSE_BY_CATEGORIES'] . '
'; echo ''; echo ''; echo ''; echo ''; $sqlIndustry = "SELECT * FROM industry order by Industry asc"; $resultIndustry = mysql_query($sqlIndustry, $conn); if (@mysql_num_rows($resultIndustry)!=0){ while($row = @mysql_fetch_array($resultIndustry)) { echo " "; } } echo '
".$row['Industry']."
'; echo '
'; echo '