php - Create Front-end to update hard coded array within CI 1.7 -


i have situation attack or should say, has been given me attack. owner's daughter 1 of our graphic designers , moves images in , out of our sites needed. reason, she, , few others, quite overwrite other files because in other folders, why don't know, when should being adding image, location url , title text predefined array. have explained process several times no avail owner asked if type of input page values needed entered.

i know can done, not sure how or start, since more on programming side vs design side, interested in figuring out, not sure where/how start. can't figure out, search in google me going.

so here i'm thinking , 1 of genius' here can point me in right direction. want array below, within on of php pages, take in variables, have type of front-end app/api, link page these variables located, pass values front-end, array, changes made, no 1 touches code.

[strong]site designed using ci v1.7[/strong]

$custopener['animator'] = array(     array(          'block_name'=>'golf pro items',          'picture'=>'../../season1/seasonone.png',          'location'=>'/golf/sea_1/itemsad-items/aa/',          'class' => 'season-range-3b' ),     array(          'block_name'=>'golf pro items season 2',          'picture'=>'../../season2/seasontwo.jpg',          'location'=>'/golf/sea_2/items89k1-items/89ki/',          'class' => 'season-range-3a' ),  array(          'block_name'=>'golf pro items season 3',          'picture'=>'../../season3/seasonthree.gif',          'location'=>'/golf/sea_3/itemslp00-items/lp00/',          'class' => 'season-range-3c' ), ); 

all hold images , titles appear on page. these hard coded , not in db , user/owner's daughter, goes in , makes needed changes image location, title, etc.

any appreciated.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -