<tr id="rorder-<?= clean_page($data['id']) ?>" class="ui-sortable-handle">
    <td class="center order">
        <i class="fa fa-arrows"></i>
    </td>
    <td>
        <img src="<?= SITE_URL . '/' . $image_folders['product_folders']['thumbs']['path'] . '/' . clean_page($data['name']) ?>">
    </td>

    <td>
        <input type="text"
               name="alt[<?= (int)$data['id'] ?>]"
               value="<?= clean_page($data['alt'])  ?>"/>
    </td>
    <?php
    if (IMAGES_ZOOM === true) {
    ?>

        <td class="center">

            <?php
            if ($zoom == true) {
            ?>

                <a href="images.php?id=<?= clean_page($item_id) ?>&action=setzoom&image_id=<?= clean_page($data['id']) ?>">
                    <i class="fa fa-check-square"></i>
                </a>

            <?php
            } else {
            ?>

                <a href="images.php?id=<?= clean_page($item_id) ?>&action=setzoom&image_id=<?= clean_page($data['id']) ?>">
                    <i class="fa fa-square-o"></i>
                </a>

            <?php
            }
            ?>

        </td>

    <?php
    }
    ?>

    <td class="center">

        <?php
        if ($default == true) {
        ?>

            <a href="images.php?id=<?= clean_page($item_id) ?>&action=setdefault&default_id=<?= clean_page($data['id']) ?>">
                <i class="fa fa-check-square"></i>
            </a>

        <?php
        } else {
        ?>

            <a href="images.php?id=<?= clean_page($item_id) ?>&action=setdefault&default_id=<?= clean_page($data['id']) ?>">
                <i class="fa fa-square-o"></i>
            </a>

        <?php
        }
        ?>

    </td>

    <?php
    if (true == false) {
    ?>

        <td class="center">

            <?php
            if ($data['hover'] == true) {
            ?>

                <a href="images.php?id=<?= clean_page($item_id) ?>&action=sethover&image_id=<?= clean_page($data['id']) ?>">
                    <i class="fa fa-check-square"></i>
                </a>

            <?php
            } else {
            ?>

                <a href="images.php?id=<?= clean_page($item_id) ?>&action=sethover&image_id=<?= clean_page($data['id']) ?>">
                    <i class="fa fa-square-o"></i>
                </a>

            <?php
            }
            ?>

        </td>

    <?php
    }
    ?>

    <?php if(true == false) { ?>
    <td class="center">
        <a href="images.php?id=<?= clean_page($_REQUEST['id']) ?>&action=setsmall&image_id=<?= clean_page($data['id']) ?>">
            <i class="fa <?= $data['small'] ? 'fa-check-square' : 'fa-square-o' ?>"></i>
        </a>
    </td>
    <?php } ?>

    <td class="center">
        <a href="images.php?id=<?= clean_page($item_id) ?>&action=delete&delete_id=<?= clean_page($data['id']) ?>"
           title="Are you sure you want to delete this image?"
           class="alert picto error">
            <i class="fa fa-times-circle"></i>
        </a>
    </td>
</tr>
