@@ -20,15 +20,15 @@ public function index()
2020 $ this ->load ->model ('bands ' );
2121
2222 $ data ['bands ' ] = $ this ->bands ->get_all_bands_for_user ();
23-
23+
2424 // Render Page
2525 $ data ['page_title ' ] = "Bands " ;
2626 $ this ->load ->view ('interface_assets/header ' , $ data );
2727 $ this ->load ->view ('bands/index ' );
2828 $ this ->load ->view ('interface_assets/footer ' );
2929 }
3030
31- public function create ()
31+ public function create ()
3232 {
3333 $ this ->load ->model ('bands ' );
3434 $ this ->load ->library ('form_validation ' );
@@ -41,7 +41,7 @@ public function create()
4141 $ this ->load ->view ('bands/create ' , $ data );
4242 }
4343 else
44- {
44+ {
4545 $ this ->bands ->add ();
4646 }
4747 }
@@ -55,7 +55,7 @@ public function edit()
5555 $ band_query = $ this ->bands ->getband ($ item_id_clean );
5656
5757 $ data ['my_band ' ] = $ band_query ->row ();
58-
58+
5959 $ data ['page_title ' ] = "Edit Band " ;
6060
6161 $ this ->load ->view ('bands/edit ' , $ data );
@@ -122,20 +122,22 @@ public function saveBand() {
122122 $ band ['cq ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('cq ' ));
123123 $ band ['dok ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('dok ' ));
124124 $ band ['dxcc ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('dxcc ' ));
125- $ band ['helvetia ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('helvetia ' ));
125+ $ band ['helvetia ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('helvetia ' ));
126126 $ band ['iota ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('iota ' ));
127+ $ band ['jcc ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('jcc ' ));
128+ $ band ['pota ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('pota ' ));
129+ $ band ['rac ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('rac ' ));
127130 $ band ['sig ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('sig ' ));
128131 $ band ['sota ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('sota ' ));
129132 $ band ['uscounties ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('uscounties ' ));
130133 $ band ['was ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('was ' ));
131134 $ band ['wwff ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('wwff ' ));
132135 $ band ['vucc ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('vucc ' ));
133136 $ band ['waja ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('waja ' ));
134- $ band ['pota ' ] = $ this ->security ->xss_clean ($ this ->input ->post ('pota ' ));
135-
137+
136138 $ this ->load ->model ('bands ' );
137139 $ this ->bands ->saveBand ($ id , $ band );
138-
140+
139141 header ('Content-Type: application/json ' );
140142 echo json_encode (array ('message ' => 'OK ' ));
141143 return ;
@@ -144,10 +146,10 @@ public function saveBand() {
144146 public function saveBandAward () {
145147 $ award = $ this ->security ->xss_clean ($ this ->input ->post ('award ' ));
146148 $ status = $ this ->security ->xss_clean ($ this ->input ->post ('status ' ));
147-
149+
148150 $ this ->load ->model ('bands ' );
149151 $ this ->bands ->saveBandAward ($ award , $ status );
150-
152+
151153 header ('Content-Type: application/json ' );
152154 echo json_encode (array ('message ' => 'OK ' ));
153155 return ;
0 commit comments