<?
$key = "52525"; //секретный ключ для e-gold
$key2 = "bakmarb951b1nb"; //секретный ключ для webmoney
   // WM идентификатор магазина
        $wmconst__shop_wmid = '414415767275';

        // Номер Z-кошелька магазина
        $purseZ = "Z674418139487";
        // Номер R-кошелька магазина
        $purseR = "R808206143566";
        // Номер E-кошелька магазина
        $purseE = "E411150497786";

        // Кошелек магазина, используемого для расчетов по умолчанию
        $wmconst__shop_wmpurse = "Z674418139487";

$acc = "1002009"; // ваш e-gold аккаунт
$true_login="admin"; // логин на админку
$true_pass="test1"; // пароль на админку

// ОСТАЛЬНОЕ НЕ МЕНЯТЬ!!!

$result = mysql_query ("select * from loto_admin_vars2 where perem='q1'" ,$cnct);$data=mysql_fetch_object($result);
$perem1 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q2'" ,$cnct);$data=mysql_fetch_object($result);
$perem2 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q3'" ,$cnct);$data=mysql_fetch_object($result);
$perem3 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q4'" ,$cnct);$data=mysql_fetch_object($result);
$perem4 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q5'" ,$cnct);$data=mysql_fetch_object($result);
$perem5 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q6'" ,$cnct);$data=mysql_fetch_object($result);
$perem6 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q7'" ,$cnct);$data=mysql_fetch_object($result);
$perem7 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q8'" ,$cnct);$data=mysql_fetch_object($result);
$perem8 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q9'" ,$cnct);$data=mysql_fetch_object($result);
$result = mysql_query ("select * from loto_admin_vars2 where perem='q10'" ,$cnct);$data=mysql_fetch_object($result);
$perem10 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q11'" ,$cnct);$data=mysql_fetch_object($result);
$perem11 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q12'" ,$cnct);$data=mysql_fetch_object($result);
$perem12 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q13'" ,$cnct);$data=mysql_fetch_object($result);
$perem13 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q14'" ,$cnct);$data=mysql_fetch_object($result);
$perem14 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q15'" ,$cnct);$data=mysql_fetch_object($result);
$perem15 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q16'" ,$cnct);$data=mysql_fetch_object($result);
$perem16 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q17'" ,$cnct);$data=mysql_fetch_object($result);
$perem17 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q18'" ,$cnct);$data=mysql_fetch_object($result);
$perem18 = "$data->val";
$result = mysql_query ("select * from loto_admin_vars2 where perem='q19'" ,$cnct);$data=mysql_fetch_object($result);
$perem19 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q20'" ,$cnct);$data=mysql_fetch_object($result);
$perem20 = "$data->val";  
$result = mysql_query ("select * from loto_admin_vars2 where perem='q21'" ,$cnct);$data=mysql_fetch_object($result);
$perem21 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q22'" ,$cnct);$data=mysql_fetch_object($result);
$perem22 = "$data->val";  
$result = mysql_query ("select * from loto_admin_vars2 where perem='q23'" ,$cnct);$data=mysql_fetch_object($result);
$perem23 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q24'" ,$cnct);$data=mysql_fetch_object($result);
$perem24 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q25'" ,$cnct);$data=mysql_fetch_object($result);
$perem25 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q26'" ,$cnct);$data=mysql_fetch_object($result);
$perem26 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q27'" ,$cnct);$data=mysql_fetch_object($result);
$perem27 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q28'" ,$cnct);$data=mysql_fetch_object($result);
$perem28 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q29'" ,$cnct);$data=mysql_fetch_object($result);
$perem29 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q30'" ,$cnct);$data=mysql_fetch_object($result);
$perem30 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q31'" ,$cnct);$data=mysql_fetch_object($result);
$perem31 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q32'" ,$cnct);$data=mysql_fetch_object($result);
$perem32 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q33'" ,$cnct);$data=mysql_fetch_object($result);
$perem33 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q34'" ,$cnct);$data=mysql_fetch_object($result);
$perem34 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q35'" ,$cnct);$data=mysql_fetch_object($result);
$perem35 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q36'" ,$cnct);$data=mysql_fetch_object($result);
$perem36 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q37'" ,$cnct);$data=mysql_fetch_object($result);
$perem37 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q38'" ,$cnct);$data=mysql_fetch_object($result);
$perem38 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q39'" ,$cnct);$data=mysql_fetch_object($result);
$perem39 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q40'" ,$cnct);$data=mysql_fetch_object($result);
$perem40 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q41'" ,$cnct);$data=mysql_fetch_object($result);
$perem41 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q42'" ,$cnct);$data=mysql_fetch_object($result);
$perem42 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q43'" ,$cnct);$data=mysql_fetch_object($result);
$perem43 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q44'" ,$cnct);$data=mysql_fetch_object($result);
$perem44 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q45'" ,$cnct);$data=mysql_fetch_object($result);
$perem45 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q46'" ,$cnct);$data=mysql_fetch_object($result);
$perem46 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q47'" ,$cnct);$data=mysql_fetch_object($result);
$perem47 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q48'" ,$cnct);$data=mysql_fetch_object($result);
$perem48 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q49'" ,$cnct);$data=mysql_fetch_object($result);
$perem49 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q50'" ,$cnct);$data=mysql_fetch_object($result);
$perem50 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q51'" ,$cnct);$data=mysql_fetch_object($result);
$perem51 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q52'" ,$cnct);$data=mysql_fetch_object($result);
$perem52 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q53'" ,$cnct);$data=mysql_fetch_object($result);
$perem53 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q54'" ,$cnct);$data=mysql_fetch_object($result);
$perem54 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q55'" ,$cnct);$data=mysql_fetch_object($result);
$perem55 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q56'" ,$cnct);$data=mysql_fetch_object($result);
$perem56 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q57'" ,$cnct);$data=mysql_fetch_object($result);
$perem57 = "$data->val"; 
$result = mysql_query ("select * from loto_admin_vars2 where perem='q58'" ,$cnct);$data=mysql_fetch_object($result);
$perem58 = "$data->val"; 

?>