Advertisement
Guest User

Untitled

a guest
Oct 29th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. / mock data
  2.  
  3. $__categories = array(1 => new Category(1, "Mobile & Wireless Computing"),
  4. 2 => new Category(2, "Functional Programming"),
  5. 3 => new Category(3, "C / C++"),
  6. 4 => new Category(4, "<< New Publications >>"));
  7.  
  8. $__books = array(1 => new Book(1, 1, "Hello, Android:\nIntroducing Google's Mobile Development Platform", "Ed Burnette", 19.97),
  9. 2 => new Book(2, 1, "Android Wireless Application Development", "Shane Conder, Lauren Darcey", 31.22),
  10. 5 => new Book(5, 1, "Professional Flash Mobile Development", "Richard Wagner", 19.90),
  11. 7 => new Book(7, 1, "Mobile Web Design For Dummies", "Janine Warner, David LaFontaine", 16.32),
  12. 11 => new Book(11, 2, "Introduction to Functional Programming using Haskell", "Richard Bird", 74.75),
  13. //book with bad title to show scripting attack - add for scripting attack demo only
  14. 12 => new Book(12, 2, "Scripting (Attacks) for Beginners - <script type=\"text/javascript\">alert('All your base are belong to us!');</script>", "John Doe", 9.99),
  15. 14 => new Book(14, 2, "Expert F# (Expert's Voice in .NET)", "Antonio Cisternino, Adam Granicz, Don Syme", 47.64),
  16. 16 => new Book(16, 3, "C Programming Language\n(2nd Edition)", "Brian W. Kernighan, Dennis M. Ritchie", 48.36),
  17. 27 => new Book(27, 3, "C++ Primer Plus\n(5th Edition)", "Stephan Prata", 36.94),
  18. 29 => new Book(29, 3, "The C++ Programming Language", "Bjarne Stroustrup", 67.49));
  19.  
  20. $__users = array(1 => new User(1, "scm4", "a8af855d47d091f0376664fe588207f334cdad22")); //USER = scm4; PASSWORD = scm4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement