Advertisement
fuxoft

FFFILM header

Sep 8th, 2022
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local imageserve = dofile(FFTEMPL.htm_dir .. "../imageserve.lua")
  2. local seed = "fffilm_banner" .. math.floor(os.time() / 3600 / 51.8) .. (os.getenv("HTTP_X_FORWARDED_FOR") or os.getenv("REMOTE_ADDR") or os.time())
  3.  
  4. imageserve.select({
  5.     seed = seed,
  6.     weights = {
  7.         {"normal.png", 200},
  8.         {"putin.png", 10},
  9.         {"zelensky.png", 10},
  10.         {"adolf.png", 5},
  11.         {"amina.png", 5},
  12.     }
  13. })
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement