Request Feature


[insert_php]remove_filter( ‘the_content’, ‘wpautop’ );[/insert_php]
[insert_php]remove_filter( ‘the_excerpt’, ‘wpautop’ );[/insert_php]
[insert_php]remove_filter(‘the_content’, ‘wptexturize’);[/insert_php]
[insert_php] include(ABSPATH. ‘/wp-content/custom-php/templates/header.php’); [/insert_php]





Request Feature


[insert_php] echo createHeader(“Feature Requests”); [/insert_php]







    [insert_php]
    include_once(ABSPATH. ‘/wp-content/custom-php/AJAX-UtilityFunctions.php’);
    $connection = getConn();
    $user = $_SESSION[ ‘login_user’ ];
    $result = hgQuery( “select name, module, priority, status, progress, description, dateAdded, lastUpdate FROM `__featureRequests` where addedBy=’$user'”, $connection );
    if( $result === false ) {
    echo “

    “;
    echo “

    “;
    }
    else if( mysqli_num_rows( $result ) == 0 )
    { echo “

    “; }
    else {
    while( $row = mysqli_fetch_row( $result ) )
    {
    switch( $row[2] )
    {
    case “-120”: { $priority = “Wishful”; } break;
    case “-80”: { $priority = “Very Low”; } break;
    case “-40”: { $priority = “Low”; } break;
    case “0”: { $priority = “Standard”; } break;
    case “40”: { $priority = “High”; } break;
    case “80”: { $priority = “Very High”; } break;
    case “120”: { $priority = “Urgent”; } break;
    default: { $priority = $row[2]; } break;
    }
    if( $row[4] == null ) { $status = “”; }
    else { $status = $row[4].’ %’; }
    $dateAdded = explode( ‘ ‘, $row[6] )[0];
    $dateUpdated = explode( ‘ ‘, $row[7] )[0];
    echo “

    “;
    }
    }
    [/insert_php]

    Name Module Priority Status Progress Description Added On Last Update
    No Feature Requests Found
    “.mysqli_errno($connection).” “.mysqli_error($connection).”
    No Feature Requests Found
    $row[0] $row[1] $priority $row[3] $status $row[5] $dateAdded $dateUpdated

    [insert_php]include_once(ABSPATH.’/wp-content/custom-php/templates/footer.php’);[/insert_php]