File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
cweb/elcurrencyweb/controllers Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ function __construct()
2424 }
2525
2626 /**
27- * index that shows the presentation, or login
28- *
27+ * index that shows the presentation, or login
28+ *
2929 * @name: index
3030 * @param void
3131 * @return void
@@ -37,12 +37,16 @@ public function index()
3737 $ data ['currentctr ' ] = $ this ->currentctr ;
3838 $ data ['currentinx ' ] = $ this ->currentinx ;
3939 $ data ['currenturl ' ] = $ this ->currenturl ;
40+ $ this ->load ->model ('Currency_m ' ,'dbcm ' );
41+ $ cod_currency_base_array = $ this ->dbcm ->readCurrencyNames ();
42+ $ exx = array ('840 ' =>'VES ' ,'971 ' =>'USD ' );
43+ $ data ['cod_base_currency_array ' ] = $ exx ;
44+ $ data ['cod_base_currency ' ] = 'VES ' ;
4045 $ this ->load ->view ('header ' ,$ data );
4146 $ this ->load ->view ('menu ' ,$ data );
4247 $ this ->load ->view ('converter ' ,$ data );
4348 $ this ->load ->view ('footer ' ,$ data );
4449 }
45-
4650}
4751
4852/* End of file Home.php */
You can’t perform that action at this time.
0 commit comments