Exemple #1
0
                    ?>
">
							<input type="hidden" name="action" value="sort">
							<input type="hidden" name="id" value="<?php 
                    echo $fave->id;
                    ?>
">
							<strong>Current Place: <?php 
                    echo $fave->sortorder;
                    ?>
</strong> | New Place <select name="newsort" id="newsort-<?php 
                    echo $fave->id;
                    ?>
">
								<?php 
                    foreach ($faves->positions() as $place) {
                        ?>
									<option value="<?php 
                        echo $place->sortorder;
                        ?>
"><?php 
                        echo $place->sortorder;
                        ?>
</option>
								<?php 
                    }
                    ?>
							</select>
							<input type="submit" value="Sort" />
							</form>
							<?php 
Exemple #2
0
                    ?>
">
							<input type="hidden" name="action" value="sort">
							<input type="hidden" name="id" value="<?php 
                    echo $fave->id;
                    ?>
">
							<strong>Current Place: <?php 
                    echo $fave->sortorder;
                    ?>
</strong> | New Place <select name="newsort" id="newsort-<?php 
                    echo $fave->id;
                    ?>
">
								<?php 
                    foreach (FavesAdmin::positions() as $place) {
                        ?>
									<option value="<?php 
                        echo $place->sortorder;
                        ?>
"><?php 
                        echo $place->sortorder;
                        ?>
</option>
								<?php 
                    }
                    ?>
							</select>
							<input type="submit" value="Sort" />
							</form>
							<?php