Esempio n. 1
0
           
          
             </div>
            
            
            <div>
          <!--        <table data-role="table" class="ui-responsive">
                    <thead><th>WEEE CATEGORY</th><th>Weights</th></thead>
                <tbody>
                    <!-- Here content generated dynamically ,throu calculation modul   <tr> -->
                  
                         <?php 
//$result=calculate_weights($manifest_reg_id);
//echo show_result_one_row_at_time($result);
//     $manifest_reg_id= $_SESSION['MANIFEST_REG_ID'];
$weee_weights_calculated = calculate_weights($manifest_reg_id);
$atts = check_atts();
$categories_num = get_weee_categories();
//$att_flag=detect_atts($atts, $weee_weights_calculated);
//show_result_one_row_at_time_att($weee_weights_calculated,$att_flag[0],$att_flag[1],$att_flag[2]);
//get site from manifest counter
/*   
$sql="SELECT siteid from manifest_reg WHERE idmanifest_reg='$manifest_reg_id'";
$result=query_select($sql);
$rek=mysqli_fetch_array($result);
*/
//connect_dbi();
//
$att_weights = att_assignment($manifest_reg_id);
$att_flag = detect_atts($atts, $weee_weights_calculated);
//var_dump($att_weights);
function move_item($itemid, $to)
{
    //function to move items around in players' Inventories
    global $inventory;
    if (!isset($inventory)) {
        load_inventory();
    }
    set_item_pref("inventorylocation", $to, $itemid);
    clear_weights();
    calculate_weights();
}