Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($dashboard_mode) {
- $content = freeway_dashboard_build_filter_query();
- while ($latest_node = db_fetch_object($content)) {
- echo "Nid is: ". $latest_node->nid ."<br>";
- echo "Title is: ". $latest_node->title ."<br>";
- echo "Type is: ". $latest_node->type ."<br>";
- echo "Lanuage is: ". $latest_node->language ."<br>";
- echo "Status is: ". $latest_node->status ."<br>";
- echo "Body is: ". $latest_node->body ."<br>";
- echo "End of node---------------------------------<br><br>";
- }
- }
- $form['#content'] = $content;
- }
- function freeway_wrapper_node_get_types($op = 'types', $node = NULL, $reset = FALSE) {
- return node_get_types($op, $node, $reset);
- }
- function freeway_dashboard_build_filter_query() {
- $contents = db_query("SELECT * FROM node");
- return $contents;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement