Beispiel #1
0
<?php

language_file("exchange");
?>

<div class="article">
<h2><span><?php 
echo lang_temp($currencynp, $_LANG[$l]["e_header1"]);
?>
</span></h2>

<?php 
if ($_SESSION["li"] != 1) {
    echo lang_temp("?c=sign_up{$___l}", $_LANG[$l]["e_log_in"]);
}
?>

<table style="width: 100%; border-collapse: collapse;">

<?php 
if ($_SESSION["li"] == 1) {
    get_connection();
    $slc_balance = get_balance($_SESSION["user_id"], "SLC");
    $cur_balance = get_balance($_SESSION["user_id"], $currency);
    $slt_trade_order_buy = "SELECT MAX(price) as price FROM trade_order WHERE currency = '{$currency}' AND type = 'buy' AND active = 'yes' AND finished = 'no'";
    $rlt_trade_order_buy = mysql_query($slt_trade_order_buy);
    $row_trade_order_buy = mysql_fetch_assoc($rlt_trade_order_buy);
    $slt_trade_order_sell = "SELECT MIN(price) as price FROM trade_order WHERE currency = '{$currency}' AND type = 'sell' AND active = 'yes' AND finished = 'no'";
    $rlt_trade_order_sell = mysql_query($slt_trade_order_sell);
    $row_trade_order_sell = mysql_fetch_assoc($rlt_trade_order_sell);
    ?>
Beispiel #2
0
<?php

language_file("exchange_menu");
?>
<div class="gadget">
<h2 class="star"><?php 
echo $_LANG[$l]["em_header"];
?>
</h2>
<ul class="sb_menu">
<li><a href="?c=exchange<?php 
echo $___l;
?>
"<?php 
if ($content == "exchange" && $currency == "BTC") {
    echo " class=\"active\"";
}
?>
><?php 
echo $_LANG[$l]["em_trade_bitcoins"];
?>
</a> | <a href="?c=exchange&amp;u=nmc<?php 
echo $___l;
?>
"<?php 
if ($content == "exchange" && $currency == "NMC") {
    echo " class=\"active\"";
}
?>
><?php 
echo $_LANG[$l]["em_trade_namecoins"];
Beispiel #3
0
<?php

session_start();
date_default_timezone_set("GMT");
include "inc/conn.php";
include "inc/account.php";
include "inc/format.php";
include "inc/language.php";
include "snips/prepost.php";
language_file("general");
if (!$access && $login_necessary) {
    $_PRE["menu"] = "home";
    $_PRE["title"] = $_LANG[$l]["g_slc24_welcome"];
    $_PRE["page_title"] = $_LANG[$l]["g_log_in_please"];
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php 
echo $_PRE["page_title"];
?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/arial.js"></script>
<script type="text/javascript" src="js/cuf_run.js"></script>
</head>
<body>
Beispiel #4
0
<?php

language_file("support");
$_PRE["info"] = true;
$_PRE["search"] = true;
$_PRE["menu"] = "support";
$_PRE["links"] = true;
$_PRE["account"] = true;
$_PRE["page_title"] = $_LANG[$l]["s_header3"];
$_PRE["title"] = $_LANG[$l]["s_header2"];
if ($_GET["step"] != 1) {
    $_PRE["REQUEST_URI"] = "/?c=support";
} else {
    $_PRE["REQUEST_URI"] = "/?c=support&step=1";
}
Beispiel #5
0
<?php

get_connection();
language_file("exchange_my_trades");
$_PRE["info"] = false;
$_PRE["search"] = false;
$_PRE["menu"] = "exchange";
$_PRE["links"] = false;
$_PRE["account"] = true;
$_PRE["page_title"] = "My trades - Solidcoin24";
$_PRE["title"] = "Solidcoin24 Exchange";
$_PRE["sidemenu_file"] = "exchange_menu.php";
$_PRE["REQUEST_URI"] = "/?c=exchange/my_trades";
$currencies = array("BTC", "NMC");
$types = array("buy", "sell");
if (in_array($_POST["currency"], $currencies)) {
    $currency = $_POST["currency"];
} else {
    $currency = "BTC";
}
if (in_array($_POST["type"], $types)) {
    $type = $_POST["type"];
}
if (is_numeric($_POST["entries"]) && $_POST["entries"] > 0 && $_POST["entries"] <= 200) {
    $entries = $_POST["entries"];
} else {
    $entries = 10;
}
if (is_numeric($_POST["from"]) && $_POST["from"] > 0) {
    $from = $_POST["from"];
} else {
Beispiel #6
0
<?php

language_file("home_menu");
?>
<div class="gadget">
<h2 class="star"><?php 
echo $_LANG[$l]["hm_header"];
?>
</h2>
<ul class="sb_menu">
<li><a href="<?php 
echo $__l;
?>
"<?php 
if ($content == "index") {
    echo " class=\"active\"";
}
?>
><?php 
echo $_LANG[$l]["hm_home"];
?>
</a></li>
<?php 
if ($_SESSION["li"] == 1) {
    ?>
<li><a href="?c=balance<?php 
    echo $___l;
    ?>
"<?php 
    if ($content == "balance") {
        echo " class=\"active\"";
Beispiel #7
0
<?php

language_file("index");
$_PRE["info"] = true;
$_PRE["search"] = true;
$_PRE["REQUEST_URI"] = "/";
$_PRE["menu"] = "home";
$_PRE["links"] = true;
$_PRE["account"] = true;
$_PRE["page_title"] = $_LANG[$l]["i_header3"];
$_PRE["title"] = $_LANG[$l]["i_header2"];
$_PRE["sidemenu_file"] = "home_menu.php";