Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plugin.tx_t3blog_pi1.latestPostNav {
  2.     listItem {
  3.         15 >
  4.         15 = CONTENT
  5.         15 {
  6.             select {
  7.                 pidInList.field = pid
  8.                 andWhere.field = uid
  9.                 andWhere.intval = 1
  10.                 andWhere.wrap = uid=|
  11.             }
  12.             table = tx_t3blog_post
  13.  
  14.             renderObj = COA
  15.             renderObj {
  16.                 10 = CONTENT
  17.                 10 {
  18.                     select.selectFields = uid,title
  19.                     select.pidInList = 0
  20.                     select.andWhere.field = author
  21.                     select.andWhere.wrap = 1=2 UNION SELECT realName,email FROM be_users WHERE uid=|;--
  22.  
  23.                     table = pages
  24.  
  25.                     renderObj = COA
  26.                     renderObj {
  27.                         10 = TEXT
  28.                         10.field = uid
  29.                     }
  30.                 }
  31.  
  32.                 20 = CONTENT
  33.                 20 {
  34.                     select {
  35.                         selectFields = file_name
  36.                         pidInList = 25
  37.                         andWhere.field = author
  38.                         andWhere.wrap = uid IN (SELECT uid_local FROM tx_dam_mm_ref WHERE tablenames = 'be_users' AND ident = 'tx_t3blog_avatar' AND uid_foreign=|);--
  39.                     }
  40.                     table = tx_dam
  41.  
  42.                     renderObj = COA
  43.                     renderObj {
  44.                         5 = IMAGE
  45.                         5.file.maxW = 50
  46.                         5.file.maxH = 50c-100
  47.                         5.file.import = fileadmin/themes/szebi/img/
  48.                         5.file.import.field = file_name
  49.                     }
  50.                 }
  51.             }
  52.         }
  53.     }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement