fix
This commit is contained in:
+66
-3
@@ -1,4 +1,67 @@
|
||||
<?
|
||||
<?php
|
||||
/*
|
||||
$ar1 = [
|
||||
"color" => "red",
|
||||
"sex" => "male",
|
||||
];
|
||||
|
||||
|
||||
$ar2 = ["color" => "green", ];
|
||||
$result = array_merge_recursive($ar1, $ar2);
|
||||
print_r($result);*/
|
||||
print_r( spaTranslationsCall());
|
||||
|
||||
|
||||
function spaTranslationsCall()
|
||||
{
|
||||
return array_merge_recursive(spaTranslations(),[
|
||||
'hide_boards' => 'Hide Boards',
|
||||
'draw_numbers' => 'Draw Number(s)',
|
||||
'next_draw' => 'Next Draw',
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
function spaTranslations(){
|
||||
return [
|
||||
'cart_title' => 'Below you can review and adjust the games you have added',
|
||||
'cart_subtitle' => 'Select a row to see more details',
|
||||
'cart_empty' => 'Your cart is empty.',
|
||||
'cart_summary_title' => 'Below are the entries you purchased!',
|
||||
'cart_summary_title_fail' => 'Your transaction could not be completed, please try again.',
|
||||
'cart_summary_title_some_fail' => 'Some tickets could not be played, please return to cart and try again.',
|
||||
'show_boards' => 'Expand to display boards',
|
||||
'board' => 'Board',
|
||||
'week' => 'Week',
|
||||
'current_shopping_cart_total' => 'Your current Shopping Cart total is',
|
||||
'subtotal' => 'Subtotal',
|
||||
'discount' => 'Discount',
|
||||
'voucher_discount' => 'Voucher Discount',
|
||||
'total' => 'Total',
|
||||
'clear_cart_confirmation' => 'Do you realy want to empty your cart?',
|
||||
'cart_delete_confirmation' => 'Do you really want to delete this cart item?',
|
||||
'number_of_draws' => 'Multi draws',
|
||||
'ticket_update' => 'Update Ticket',
|
||||
'ticket_updated' => 'Your ticket was Updated, return to cart to replay.',
|
||||
'ticket_id' => 'Ticket ID',
|
||||
'wager_id' => 'Wager ID',
|
||||
'next_draw' => 'Next draw',
|
||||
'btn_continue_playing' => 'Continue Playing',
|
||||
'cart_draw_date' => 'Date',
|
||||
'details_date_at' => 'at',
|
||||
'details_date_from' => 'from',
|
||||
'details_date_to' => 'to',
|
||||
'no_of_draws' => 'No of Draws',
|
||||
'handling_fee' => 'Handling Fee',
|
||||
'price_details_title' => 'Price Details',
|
||||
'cart_item_price' => 'Price',
|
||||
'details_total' => 'Total',
|
||||
'system_played' => 'System',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
$USER = $_SERVER['SCRIPT_FILENAME'];
|
||||
$USER = str_replace('/home', '', $USER);
|
||||
$USER = strtok($USER, '/');
|
||||
@@ -7,6 +70,6 @@ $USER = strtok($USER, '/');
|
||||
$wrenchboard_class = 'wrenchboard_api_' . $USER . '\\WrenchBoard';
|
||||
$wrenchboard = new $wrenchboard_class();
|
||||
$ret = $wrenchboard->wrenchboard_api($in,$out);
|
||||
var_dump($ret);
|
||||
phpinfo();
|
||||
//var_dump($ret);
|
||||
//phpinfo();
|
||||
?>
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ $wrenchboard = new $wrenchboard_class();
|
||||
|
||||
|
||||
|
||||
Array ( [title] => Re:Week 1 CAT 2: “Muddiest” Point [description] => sffss [timeline] => 3 [job_detail] => sgsagsagashas [price] => 5000 [action] => 0 )
|
||||
//Array ( [title] => Re:Week 1 CAT 2: “Muddiest” Point [description] => sffss [timeline] => 3 [job_detail] => sgsagsagashas [price] => 5000 [action] => 0 )
|
||||
|
||||
|
||||
$data['firstname'] = 'Olu';
|
||||
|
||||
@@ -7,6 +7,7 @@ $username = urlencode("jubaworker+" . rand(1000, 9999) . "@gmail.com");
|
||||
|
||||
$username = "jubaworker+" . rand(1000, 9999) . "@gmail.com";
|
||||
//$username = "ameye+" . rand(1000, 9999) . "@chiefsoft.com";
|
||||
//$username = "ses66181+" . rand(1000, 9999) . "@gmail.com";
|
||||
$phone = (rand(1, 2) > 1) ? "770222" . rand(2222, 9999) : '';
|
||||
|
||||
include 'sample_data.php'; // just for sample data
|
||||
|
||||
@@ -49,7 +49,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
| Examples: my-controller/index -> my_controller/index
|
||||
| my-controller/my-method -> my_controller/my_method
|
||||
*/
|
||||
$route['default_controller'] = 'site';
|
||||
$route['default_controller'] = 'login';
|
||||
$route['404_override'] = 'Wrb404';
|
||||
$route['translate_uri_dashes'] = FALSE;
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ class Site extends WRB_Controller {
|
||||
* */
|
||||
|
||||
$this->home1();
|
||||
|
||||
}
|
||||
|
||||
public function registration() {
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
<div class="navbar-right">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/registration">Sign Up</a></li>
|
||||
<li><a href="https://www.wrenchboard.com/">Home</a></li>
|
||||
<li><a href="/signup">Sign Up</a></li>
|
||||
<li><a href="/login">Login</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/terms">Terms</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
<li><a href="https://www.wrenchboard.com/about-us">About</a></li>
|
||||
<li><a href="https://www.wrenchboard.com/terms">Terms</a></li>
|
||||
<li><a href="https://www.wrenchboard.com/contact">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -165,7 +165,7 @@
|
||||
</ul>
|
||||
|
||||
<div class="content-divider text-muted form-group"><span>Don't have an account?</span></div>
|
||||
<a href="registration" class="btn btn-info btn-block content-group">Sign up</a>
|
||||
<a href="/signup" class="btn btn-info btn-block content-group">Sign up</a>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user