SMS_selfies_popup.qsrc 876 B

123456789101112131415161718192021
  1. # SMS_selfies_popup
  2. ! $ARGS[1] = Return string
  3. ! $ARGS[2] = telefon['SMSid']
  4. !! $ARGS[3] = Location where the selfie is taken
  5. !! $ARGS[4] = State of dress in the selfie
  6. !! ARGS[5] = is the index of the location in $selfieLoc[] and $selfieFilePrefix
  7. !! ARGS[6] = the selfie number
  8. if $ARGS[0] = 'set_selfie':
  9. $temp_imloc = func('SMS_selfies_popup', 'get_imloc', $ARGS[3], $ARGS[4], ARGS[5], ARGS[6])
  10. $result = '<a href="exec: gs <<$ARGS[1]>>, <<ARGS[2]>>, ''<<$temp_imloc>>'', ''<<$ARGS[3]>>'', ''<<$ARGS[4]>>'', <<ARGS[5]>>, <<ARGS[6]>>"><img src="<<$temp_imloc>>" style="horizontal-align:center; max-height:90%; max-width:90%"></a>'
  11. killvar '$temp_imloc'
  12. end
  13. if $ARGS[0] = 'get_imloc':
  14. $result = 'images/pc/activities/phone/selfies/<<$ARGS[1]>>/<<$ARGS[2]>>/<<$selfieFilePrefix[ARGS[3]]>><<ARGS[4]>>.jpg'
  15. end
  16. --- SMS_selfies_popup ---------------------------------